test/README: mention the tests cases and how to generate them
Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
e235fdedb3
commit
b7268b2948
1 changed files with 12 additions and 0 deletions
|
|
@ -18,6 +18,18 @@ are also compiled via `go test -c -o` during rpm build or via `make build`.
|
|||
See *Integration testing* for more information.
|
||||
|
||||
|
||||
## Image tests
|
||||
|
||||
In the `test/cases` directory, sample image builds and their tests are
|
||||
collected for the various distros, architectures, configuration we support.
|
||||
|
||||
Each test case describes how the image is built, the expected osbuild
|
||||
manifest used internally, the expected image-info output and how to
|
||||
boot-test the image.
|
||||
|
||||
To (re)generate these test cases use the tool
|
||||
`tools/test-case-generators/generate-test-cases`.
|
||||
|
||||
## Notes on asserts and comparing expected values
|
||||
|
||||
When comparing for expected values in test functions you should use the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue