Upgrade to version 3 spec #7
Labels
x:action/improve
Improve existing functionality/content
x:knowledge/advanced
Comprehensive Exercism knowledge required
x:module/test-runner
Work on Test Runners
x:size/large
Large amount of work
x:type/coding
Write code that is not student-facing content (e.g. test-runners, generators, but not exercises)
If possible, this test runner should be updated to version 3 of the test runner interface specification. In version 3, one additional feature is enabled: the ability to link individual tests to tasks.
This allows the website to show which tests belong to which tasks.
The way tests are linked to tasks is via an (optional)
task_id
field, which is an integer that matches the number of the task as defined in the exercise'sinstructions.md
file (note: the instructions start at index 1).This is an example of a test in the
results.json
file:You are completely free in how to implement this. Some options are:
.meta/config.json
file)As this test runner currently implements version 1 of the test runner specification, it might be good to first upgrade to version 2 of the test runner specification before upgrading to version 3.
Let me know if there are any questions.
The text was updated successfully, but these errors were encountered: