From d1f3dd9e5be1e40d1b757a5af2a53e57848b5f9a Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Tue, 1 Nov 2022 12:44:34 -0600 Subject: [PATCH] docs: offer advice on installing test dependencies Basically, acknowledge the need for dependencies and link to Fedora specfile which is the only sane place to find such a list. Closes: #16365 Signed-off-by: Ed Santiago --- CONTRIBUTING.md | 4 ++-- test/README.md | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8cab008a3f..9945c39910 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -351,7 +351,7 @@ $ podman run -it --rm -e EPOCH_TEST_COMMIT -v $PWD:/usr/src/libpod:ro \ validate ``` -### Integration Tests +### Integration and Other Tests Our primary means of performing integration testing for Podman is with the [Ginkgo](https://github.com/onsi/ginkgo) BDD testing framework. This allows @@ -360,7 +360,7 @@ between Ginkgo and the Go test framework. Adequate test cases are expected to be provided with PRs. For details on how to run the tests for Podman in your test environment, see the -Integration Tests [README.md](test/README.md). +testing [README.md](test/README.md). ## Continuous Integration diff --git a/test/README.md b/test/README.md index b44deadafc..149f002e41 100644 --- a/test/README.md +++ b/test/README.md @@ -133,6 +133,10 @@ Make sure that `bats` binary (`bin/bats` in the repository) is in your `PATH`, i PATH=$PATH:~/tools/bats/bin ``` +System tests also rely on `jq`, `socat`, `nmap`, and other tools. For a +comprehensive list, see the `%package tests` section in the +[fedora specfile](https://src.fedoraproject.org/rpms/podman/blob/main/f/podman.spec). + ## Running system tests When `bats` is installed and is in your `PATH`, you can run the test suite with following command: