mirror of
https://github.com/ascii-boxes/boxes.git
synced 2025-02-02 02:49:14 +01:00
Describe discard-stderr
option in black-box test cases
This commit is contained in:
parent
24bb52c816
commit
69f9e1d5ce
@ -151,6 +151,9 @@ A test case that tests a **successful** invocation of boxes looks like this:
|
|||||||
Sections may be empty, e.g. if there are no arguments or there is no input. The `:DESC` section is optional, so it is
|
Sections may be empty, e.g. if there are no arguments or there is no input. The `:DESC` section is optional, so it is
|
||||||
valid if the test case starts with an `:ARGS` section. The order of sections is fixed.
|
valid if the test case starts with an `:ARGS` section. The order of sections is fixed.
|
||||||
|
|
||||||
|
The `:EXPECTED` section understands an additional argument `discard-stderr`, which instructs the test runner to, well,
|
||||||
|
discard stderr output instead of including it with the actual test result to be checked.
|
||||||
|
|
||||||
A test case that makes sure boxes **fails** under certain conditions looks like this:
|
A test case that makes sure boxes **fails** under certain conditions looks like this:
|
||||||
|
|
||||||
:DESC
|
:DESC
|
||||||
|
Loading…
Reference in New Issue
Block a user