Skip to content

Commit 07e7075

Browse files
authored
Merge pull request #63 from dodona-edu/feature/remove-i18n
2 parents 4df9310 + 0020abc commit 07e7075

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+117
-644
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,11 @@ Since the tests are mostly just jUnit tests, IntelliJ and other IDE's provide su
9191
Per exercise, create a new project. The `config.json` file should be in the project root. Mark (or create) the `workdir`, `evaluation` and `solution` directories as "sources root". Add jUnit 4 as a dependency of the project.
9292

9393
If your exercises use some Dodona-specific features, such as the `TabTitle` or the `AssertionStubber`, add the Judge as a dependency. Opening this repository as an IntelliJ project should allow you to create a JAR.
94+
95+
## Developing the judge
96+
97+
While developing, you can use `./integration-tests/run` to validate whether the judge is working properly. It checks the judge's output JSON against previous results (stored as `result.json`) and monitors whether something has changed.
98+
99+
You can also use `./integration-tests/run <path-to-repo>` to run the same checks on an exercise repository, which is useful to validate a larger set op exercises.
100+
101+
With `---overwrite`, you can overwrite previous `result.json` files with the current output, and with `-v` you can check for judge error output and view the exact changes when output differs.

i18n/en

Lines changed: 0 additions & 18 deletions
This file was deleted.

i18n/nl

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../with-package/config.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../with-package/evaluation/

integration-tests/i18n-correct-nl/result.json renamed to integration-tests/correct/result.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"command": "start-tab",
1414
"hidden": false,
1515
"permission": "student",
16-
"title": "Vertaalde titel"
16+
"title": "Tab title"
1717
}
1818
{
1919
"command": "start-context",
2020
"description": {
21-
"description": "Vertaalde Test",
21+
"description": "Test description",
2222
"format": "code"
2323
}
2424
}
File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../with-package/config.json
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../with-package/evaluation/
File renamed without changes.

0 commit comments

Comments
 (0)