kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ij...@apache.org
Subject kafka git commit: MINOR: Improve documentation for running docker system tests
Date Fri, 08 Sep 2017 10:21:39 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk b07435638 -> 6546f9af6


MINOR: Improve documentation for running docker system tests

Added some tips for running a single test file, test class and/or test method on the documentation
landing page about tests

Author: Paolo Patierno <ppatierno@live.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #3577 from ppatierno/minor-tests-doc


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/6546f9af
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/6546f9af
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/6546f9af

Branch: refs/heads/trunk
Commit: 6546f9af6da45044ce68e392d4bdeac4122d132e
Parents: b074356
Author: Paolo Patierno <ppatierno@live.com>
Authored: Fri Sep 8 11:21:28 2017 +0100
Committer: Ismael Juma <ismael@juma.me.uk>
Committed: Fri Sep 8 11:21:28 2017 +0100

----------------------------------------------------------------------
 tests/README.md | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/6546f9af/tests/README.md
----------------------------------------------------------------------
diff --git a/tests/README.md b/tests/README.md
index 41ed2a6..cecb990 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -25,6 +25,19 @@ _DUCKTAPE_OPTIONS="--debug" bash tests/docker/run_tests.sh | tee debug_logs.txt
 ```
 TC_PATHS="tests/kafkatest/tests/streams tests/kafkatest/tests/tools" bash tests/docker/run_tests.sh
 ```
+* Run a specific tests file
+```
+TC_PATHS="tests/kafkatest/tests/client/pluggable_test.py" bash tests/docker/run_tests.sh
+```
+* Run a specific test class
+```
+TC_PATHS="tests/kafkatest/tests/client/pluggable_test.py::PluggableConsumerTest" bash tests/docker/run_tests.sh
+```
+* Run a specific test method
+```
+TC_PATHS="tests/kafkatest/tests/client/pluggable_test.py::PluggableConsumerTest.test_start_stop"
bash tests/docker/run_tests.sh
+```
+
 * Notes
   - The scripts to run tests creates and destroys docker network named *knw*.
    This network can't be used for any other purpose.


Mime
View raw message