Commit c7564848 authored by Mathieu Giraud's avatar Mathieu Giraud

README.md: should.cfg

parent 9380a9ce
Pipeline #2694 passed with stages
in 16 seconds
...@@ -194,6 +194,18 @@ controlling output: ...@@ -194,6 +194,18 @@ controlling output:
--version show program version number and exit --version show program version number and exit
``` ```
**Configuration files.**
Options can be set through a `should.cfg` file.
For example, a `should.cfg`.with the following lines is equivalent to giving `--xml --mod r` options to every `should` call:
```
--xml
--mod
r
```
Other configuration files can be provided when calling should with `@my.cfg`, see [demo/variables.should](demo/variables.should).
**Output.** **Output.**
By default, `should` only writes to the standard output. By default, `should` only writes to the standard output.
The `--log`, `--tap` and `--xml` options enable to store the actual output of the tested commands The `--log`, `--tap` and `--xml` options enable to store the actual output of the tested commands
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment