Skip to content

Commit

Permalink
test/system: fix documentation
Browse files Browse the repository at this point in the history
First, point users to hack/bats for running them locally. Second, remove
TODO.md as it doesn't contain any helpful information. Basically all the
missing tests there have been added so this does not serve any purpose
and is missleading.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
  • Loading branch information
Luap99 committed May 15, 2024
1 parent 759e546 commit cb905f5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 115 deletions.
4 changes: 0 additions & 4 deletions test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,3 @@ For usage run:
```
hack/bats --help
```

## Contributing to system tests

Please see [the TODO list of needed workflows/tests](system/TODO.md).
8 changes: 2 additions & 6 deletions test/system/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,9 @@ without having to wait for the entire test suite.

Running tests
=============
To run the tests locally in your sandbox, you can use one of these methods:
* make;PODMAN=./bin/podman bats ./test/system/070-build.bats # runs just the specified test
* make;PODMAN=./bin/podman bats ./test/system # runs all
* make;PODMAN=./bin/podman NETWORK_BACKEND=netavark bats ./test/system # Assert & enable netavark testing
To run the tests locally in your sandbox using `hack/bats` is recommend, check `hack/bats --help` for info about usage.

To test as root:
* $ PODMAN=./bin/podman sudo --preserve-env=PODMAN bats test/system
To run the entire suite use `make localsystem` or `make remotesystem` for podman-remote testing.

Analyzing test failures
=======================
Expand Down
105 changes: 0 additions & 105 deletions test/system/TODO.md

This file was deleted.

0 comments on commit cb905f5

Please sign in to comment.