From c75648480090dc47af34e7b8d35401376a0d970f Mon Sep 17 00:00:00 2001 From: Mathieu Giraud Date: Fri, 10 Jul 2020 08:12:21 +0200 Subject: [PATCH] README.md: should.cfg --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 943c20a..406e140 100644 --- a/README.md +++ b/README.md @@ -194,6 +194,18 @@ controlling output: --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.** 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 -- GitLab