tests: Documentation updates
Cherry-picked from c43ba9e78f
Related: rhbz#1770193
This commit is contained in:
parent
a0cee0b543
commit
dee3f4ed2b
@ -1,12 +1,14 @@
|
|||||||
# Integration Tests
|
# Integration Tests
|
||||||
|
|
||||||
lorax uses Cockpit's integration test framework and infrastructure. To do this,
|
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.
|
images and tools to manipulate and start virtual machines from them.
|
||||||
|
|
||||||
Each test is run on a new instance of a virtual machine.
|
Each test is run on a new instance of a virtual machine.
|
||||||
Branch/test matrix is configured in `bots/tests-scan` inside the
|
Branch/test scenario matrix is configured in
|
||||||
[cockpit repository](https://github.com/cockpit-project/cockpit).
|
[testmap.py](https://github.com/cockpit-project/bots/blob/master/task/testmap.py).
|
||||||
|
|
||||||
## Dependencies
|
## 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
|
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)
|
[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
|
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.
|
have newly built rpms from the current checkout installed.
|
||||||
|
|
||||||
To delete the generated image, run
|
To delete the generated image, run
|
||||||
|
Loading…
Reference in New Issue
Block a user