aboutsummaryrefslogtreecommitdiff
path: root/test/README.md
diff options
context:
space:
mode:
authorYiqiao Pu <ypu@redhat.com>2018-10-29 14:56:23 +0800
committerYiqiao Pu <ypu@redhat.com>2018-11-16 10:49:12 +0800
commita7122d68de0d93ea22da4f44e7f92c75198af771 (patch)
tree4e61155fbd8d6c874fee5fcd514535e01310562e /test/README.md
parent74bcfc2f969ad55a651c4ced257fc7c60a581966 (diff)
downloadpodman-a7122d68de0d93ea22da4f44e7f92c75198af771.tar.gz
podman-a7122d68de0d93ea22da4f44e7f92c75198af771.tar.bz2
podman-a7122d68de0d93ea22da4f44e7f92c75198af771.zip
The system test write with ginkgo
The tests can be filter by --focus and --skip to fit different test target. Also be able to set global options and cmd options by export it to ENV to fit different test matrix. Signed-off-by: Yiqiao Pu <ypu@redhat.com>
Diffstat (limited to 'test/README.md')
-rw-r--r--test/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/README.md b/test/README.md
index 7a1145a9b..2a9a4d4b1 100644
--- a/test/README.md
+++ b/test/README.md
@@ -100,3 +100,21 @@ make shell
```
This will run a container and give you a shell and you can follow the instructions above.
+
+# System test
+System tests are used for testing the *podman* CLI in the context of a complete system. It
+requires that *podman*, all dependencies, and configurations are in place. The intention of
+system testing is to match as closely as possible with real-world user/developer use-cases
+and environments. The orchestration of the environments and tests is left to external
+tooling.
+
+* `PodmanTestSystem`: System test *struct* as a composite of `PodmanTest`. It will not add any
+options to the command by default. When you run system test, you can set GLOBALOPTIONS,
+PODMAN_SUBCMD_OPTIONS or PODMAN_BINARY in ENV to run the test suite for different test matrices.
+
+## Run system test
+You can run the test with following command:
+
+```
+make localsystem
+```