Skip to content

Commit 126568d

Browse files
authored
Add scenarios to example and describe purpose (#1683)
1 parent 5c7d015 commit 126568d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ The file format is described in [canonical-schema.json](./canonical-schema.json)
115115
"word" : "28948022309329048855892746252171976962977213799489202546401021394546514198529"
116116
}
117117
, "expected" : null
118+
, "scenarios" : [ "big-integers" ]
118119
}
119120
, { "uuid" : "c7b6f24a-553f-475a-8a40-dba854fe1bff"
120121
, "description": "Bar'ing a name with numbers gives an error"
@@ -133,6 +134,8 @@ The file format is described in [canonical-schema.json](./canonical-schema.json)
133134

134135
## Scenarios
135136

137+
An optional field to allow for selectively including/excluding test cases based on a property of the test case (such as using big integers).
138+
136139
- The `scenarios` field can use one or more of a predefined set of values, which are defined in a [`SCENARIOS.txt`](./SCENARIOS.txt) file.
137140
- The `scenarios` field can be mutated additively, by adding new scenarios. Existing scenarios must not be changed or removed. Adding new scenarios does therefore does not mean adding a new test case.
138141
- Library tests should have a `library-test` scenario added to allow for easy including/excluding of library tests. Application tests won't have their own scenario, as they must be included and should not be filtered on.

0 commit comments

Comments
 (0)