Skip to content

Commit

Permalink
docs: Automatic docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
DO! DevOps bot committed Dec 11, 2023
1 parent 3a91f1a commit b3afbee
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,8 @@ To build all flavours with the same tag, use
## Testing

To run the test suite for a specific flavour, you need to create a local directory that holds flavour-specific data
(e.g. keys for authentication) and optionally an .env-file with flavour-specific environment variables.
(e.g. keys for authentication) and optionally an .env-file with flavour-specific environment variables. This is called
a "testbed" directory.

First, you need to compile the test runner:

Expand All @@ -728,7 +729,7 @@ the [Goss site](https://github.com/goss-org/goss) and put it somewhere local.

Once that is done, run the tests like following:

./test-features -f [flavour] -i [image:tag] -t [path to flavour-data] -p [test architecture, e.g. linux/amd64] -g [path to the goss binary]
./test-features -f [flavour] -i [image:tag] -t [path to testbed directory] -p [test architecture, e.g. linux/amd64] -g [path to the goss binary]

This will run the tests of all features that supply a test suite one by one and, if all succeed, will test all
features together for integration testing. Check out `test-features --help` for other options.
Expand Down

0 comments on commit b3afbee

Please sign in to comment.