Skip to content

Commit 95b9ba3

Browse files
committed
Update for 2023
1 parent 85ff316 commit 95b9ba3

File tree

5 files changed

+438
-8
lines changed

5 files changed

+438
-8
lines changed

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ plugins {
33
id "edu.wpi.first.GradleRIO" version "2023.1.1"
44
}
55

6-
sourceCompatibility = JavaVersion.VERSION_11
7-
targetCompatibility = JavaVersion.VERSION_11
6+
sourceCompatibility = JavaVersion.VERSION_17
7+
targetCompatibility = JavaVersion.VERSION_17
88

99
def ROBOT_MAIN_CLASS = "frc.robot.Main"
1010

readme.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ updated*
1212

1313
## Building
1414

15-
To build and deploy the project, simply import into "WPILib 2022 VSCode" by
15+
To build and deploy the project, simply import into "WPILib 2023 VSCode" by
1616
opening the folder the project is checked out into, and run the action
1717
"WPILib: Deploy robot code."
1818

@@ -30,8 +30,8 @@ Development follows the
3030
as described by Atlassian. Potential changes should be made on branches specific
3131
to a given feature, and proposed by creating a pull request into `master`.
3232

33-
SOR's template targets Java 11, which is required to use and deploy the robot code.
34-
*Do not use features from standards above Java 11.*
33+
SOR's template targets Java 17, which is required to use and deploy the robot code.
34+
*Do not use features from standards above Java 17.*
3535

3636
### Branches
3737

@@ -46,4 +46,11 @@ must undergo rigerous testing.
4646

4747
Discipline in ensuring the code in `live` is thoroughly tested and is promoted
4848
in batches ensures that there will always exist a version of the robot's code
49-
that is known good and can be used in a match.
49+
that is known good and can be used in a match.
50+
51+
### Testing
52+
53+
Tests should be placed in the traditional Java directory (`src/test/java/`)
54+
corresponding to their location in the robot code.
55+
56+
Tests are written with the JUnit 5 library.

src/main/java/frc/sorutil

src/test/java/frc/sorutil

0 commit comments

Comments
 (0)