[CI:DOCS] test/README.md: run tests with podman-remote

Drop a note on how to run single tests with the remote client.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
Valentin Rothberg 2022-12-07 09:25:32 +01:00
parent 7784f1d165
commit 97c56eef6f
1 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,8 @@ You can run a single file of integration tests using the go test command:
GOPATH=~/go go test -v test/e2e/libpod_suite_test.go test/e2e/common_test.go test/e2e/config.go test/e2e/config_amd64.go test/e2e/your_test.go GOPATH=~/go go test -v test/e2e/libpod_suite_test.go test/e2e/common_test.go test/e2e/config.go test/e2e/config_amd64.go test/e2e/your_test.go
``` ```
If you want to run the tests with the podman-remote client, make sure to replace `test/e2e/libpod_suite_test.go` with `test/e2e/libpod_suite_remote_test.go`.
### Running a single integration test ### Running a single integration test
Before running the test suite, you have to declare which test you want run in the test Before running the test suite, you have to declare which test you want run in the test
file itself. Consider the following actual test: file itself. Consider the following actual test: