Skip to content

Commit

Permalink
README-devel: Add information about the generated tests (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechtrefny authored Mar 18, 2022
1 parent c2bdc7c commit c56aaba
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README-devel.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ provided constraints.
There are unit tests for the embedded modules in `tests/unit/` and integration
tests for the role in `tests/`.

### Generated Tests
For each existing test file, there are two more generated tests that use NVMe
and SCSI drives instead of the default VirtIO ones. When adding a new test
file, make sure these are generated too, `tests/scripts` contains a script to
generate the tests and also commit hooks to do this automatically for each
git commit.

## Running Tests
All of the integration tests are designed to use extra/unused disks in a vm.
Keep in mind that containers do not provide any storage isolation, and so are
Expand Down

0 comments on commit c56aaba

Please sign in to comment.