tests: Documentation updates

This commit is contained in:
Alexander Todorov 2019-10-23 05:32:13 -04:00 committed by Alexander Todorov
parent 1351c4dc63
commit c43ba9e78f
2 changed files with 9 additions and 4 deletions

View File

@ -1,12 +1,14 @@
# Integration Tests
lorax uses Cockpit's integration test framework and infrastructure. To do this,
we're checking out Cockpit's `bots/` subdirectory. It contains links to test
we're checking out
[cockpit-project/bots/](https://github.com/cockpit-project/bots) repository.
It contains links to test
images and tools to manipulate and start virtual machines from them.
Each test is run on a new instance of a virtual machine.
Branch/test matrix is configured in `bots/tests-scan` inside the
[cockpit repository](https://github.com/cockpit-project/cockpit).
Branch/test scenario matrix is configured in
[testmap.py](https://github.com/cockpit-project/bots/blob/master/task/testmap.py).
## Dependencies
@ -28,7 +30,8 @@ This downloads a base image from Cockpit's infrastructure. You can control
which image is downloaded with the `TEST_OS` environment variable. Cockpit's
[documentation](https://github.com/cockpit-project/cockpit/blob/master/test/README.md#test-configuration)
lists accepted values. It then creates a new image based on that (a qemu
snapshot) in `tests/images`, which contain the current `tests/` directory and
snapshot) in `test/images`, which contain the current `test/` and `tests/`
directories and
have newly built rpms from the current checkout installed.
To delete the generated image, run

View File

@ -1,5 +1,7 @@
#!/bin/bash
# Note: execute this file from the project root directory
# Note: Use test/check-cli && test/check-cloud if you want to
# execute test scenarios by hand!
set -eu