This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new ca7b1dcb004 MINOR: Add an example of how to run multiple test file to
tests/README (#18181)
ca7b1dcb004 is described below
commit ca7b1dcb0048d07bfeca3d5e357bafc42f5bf51e
Author: TengYao Chi <[email protected]>
AuthorDate: Mon Dec 16 13:52:14 2024 +0800
MINOR: Add an example of how to run multiple test file to tests/README
(#18181)
Reviewers: TaiJuWu <[email protected]>, Yung <[email protected]>,
Chia-Ping Tsai <[email protected]>
---
tests/README.md | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/README.md b/tests/README.md
index 93c082b94bb..7a1d4e73394 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -31,6 +31,10 @@ TC_PATHS="tests/kafkatest/tests/streams
tests/kafkatest/tests/tools" bash tests/
```
TC_PATHS="tests/kafkatest/tests/client/pluggable_test.py" bash
tests/docker/run_tests.sh
```
+* Run multiple test files
+```
+TC_PATHS="tests/kafkatest/tests/client/pluggable_test.py
tests/kafkatest/services/console_consumer.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