You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`src/main/java/<slug>.java`. the stub implementation file, which is the starting point for students to work on the exercise.
70
-
-`src/test/java/<slug>Test.java`: the test suite.
70
+
-`src/test/java/<slug>Test.java`: the test suite, please use `assertj` to describe assertions instead of those offered by JUnit.
71
71
-`.meta/example/src/main/java/<slug>.java`: an example implementation that passes all the tests.
72
72
73
-
## Step 2: Add documentation files
73
+
Append to `languages/java/exercises/settings.gradle` the following line: `concept:<slug>`
74
+
75
+
## Step 2: Validate the solution
76
+
77
+
Before submitting your solution, be sure it works following these two steps from the folder of your exercise:
78
+
79
+
1. Test the solution running `gradle test`
80
+
2. Validate the coding style running `gradle check`
81
+
82
+
## Step 3: Add documentation files
74
83
75
84
How to create the files common to all tracks is described in the [how to implement a concept exercise document][how-to-implement-a-concept-exercise].
76
85
77
-
## Step 3: Update list of implemented exercises
86
+
## Step 4: Update list of implemented exercises
78
87
79
88
- Add the exercise to the [list of implemented exercises][implemented-exercises].
80
89
81
-
## Step 4: Add analyzer (optional)
90
+
## Step 5: Add analyzer (optional)
82
91
83
92
Some exercises could benefit from having an exercise-specific [analyzer][analyzer]. If so, specify what analysis rules should be applied to this exercise and why.
84
93
85
94
_Skip this step if you're not sure what to do._
86
95
87
-
## Step 5: Add representation (optional)
96
+
## Step 6: Add representation (optional)
88
97
89
98
Some exercises could benefit from having an custom representation as generated by the [Java representer][representer]. If so, specify what changes to the representation should be applied and why.
0 commit comments