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
Copy file name to clipboardexpand all lines: README.md
+8
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,14 @@ The first condition is always enforced and cannot be circumvented.
127
127
### Example solution
128
128
The example solution could be inspiration for other language implementors. It doesn't need to be perfect or very elegant. But it should be efficient enough for the test suite to finish in only a few seconds.
129
129
130
+
Examples are named `<type>-<name>`.
131
+
There are three possible types of examples:
132
+
133
+
* success: The example is expected to pass the tests.
134
+
There should be at least one of these per exercise.
135
+
* fail: The example is expected to build, but fail the tests.
136
+
* error: The example is expected to fail to build.
137
+
130
138
### Test suite
131
139
The test suite should be derived from the respective `x-common/exercises/<exercise-name>/canonical-data.json` and comply to some formatting and coding standards (to get an idea you may look at some of the existing tests).
0 commit comments