summaryrefslogtreecommitdiff
path: root/test/test_dockerpy/README.md
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-15 13:11:24 -0400
committerGitHub <noreply@github.com>2020-06-15 13:11:24 -0400
commit2716234af3bf4e11b8017c67a770985ea8382baf (patch)
treea80cc5ecbce9302ad02bc10d935b8dfb93a8f184 /test/test_dockerpy/README.md
parentb005465cb0ba78fea4563afefc34dac3df6fbd3d (diff)
parent4a3f3b5c02e43d64c68425de4306e310b4ef9ed6 (diff)
downloadpodman-2716234af3bf4e11b8017c67a770985ea8382baf.tar.gz
podman-2716234af3bf4e11b8017c67a770985ea8382baf.tar.bz2
podman-2716234af3bf4e11b8017c67a770985ea8382baf.zip
Merge pull request #6603 from sujil02/python-test
Adds more docker py test
Diffstat (limited to 'test/test_dockerpy/README.md')
-rw-r--r--test/test_dockerpy/README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/test_dockerpy/README.md b/test/test_dockerpy/README.md
new file mode 100644
index 000000000..32e426d58
--- /dev/null
+++ b/test/test_dockerpy/README.md
@@ -0,0 +1,30 @@
+# Dockerpy regression test
+
+Python test suite to validate Podman endpoints using dockerpy library
+
+Running tests
+=============
+To run the tests locally in your sandbox:
+
+#### Run the entire test
+
+```
+sudo PYTHONPATH=/usr/bin/python python -m dockerpy.images
+```
+
+Passing the -v option to your test script will instruct unittest.main() to enable a higher level of verbosity, and produce detailed output:
+
+```
+sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images
+```
+#### Run a specific test class
+
+```
+sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images.TestImages
+```
+
+#### Run a specific test within the test class
+
+```
+sudo PYTHONPATH=/usr/bin/python python -m unittest -v dockerpy.images.TestImages.test_list_images
+```