Merge remote-tracking branch 'danielsh/tests-skip-cardinality-v1'
* danielsh/tests-skip-cardinality-v1: tests: Minor documentation readability tweak Add a test for issue #641.5, using the infrastructure added in the previous commits. tests: Skip cardinality tests whenever any test point is expected to fail. tests: Make $expected_mismatch skip the cardinality check, rather than consider it an expected failure. tests: Include the name of the 'cardinality check' test point in the output
This commit is contained in:
@@ -31,8 +31,8 @@ need not match the order in `$region_highlight`.
|
||||
4.
|
||||
Normally, tests fail if `$expected_region_highlight` and `$region_highlight`
|
||||
have different numbers of elements. Tests may set `$expected_mismatch` to an
|
||||
explanation string (like `$todo`) to avoid this and mark the cardinality check
|
||||
as todo.
|
||||
explanation string (like `$todo`) to avoid this and skip the cardinality check.
|
||||
`$expected_mismatch` is set implicitly if the `$todo` component is present.
|
||||
|
||||
**Note**: `$region_highlight` uses the same `"$i $j $style"` syntax but
|
||||
interprets the indexes differently.
|
||||
|
||||
Reference in New Issue
Block a user