From ef5291d7e8ebfd4ab14a91197ef5d0bf275586f9 Mon Sep 17 00:00:00 2001 From: pythcoiner Date: Fri, 6 Sep 2024 04:59:33 +0200 Subject: [PATCH] tests: add a note to README.md about running tests in parallel --- tests/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/README.md b/tests/README.md index eb726db34..5f75865db 100644 --- a/tests/README.md +++ b/tests/README.md @@ -68,6 +68,13 @@ pytest -vvv --log-cli-level=DEBUG -k test_startup Note that we record all logs from daemons, and we start them with `log_level = "debug"`. +#### Running tests in parallel + +In order to run tests in parallel, you can use `-n` arg: + +``` +pytest -n 8 tests/ +``` ### Test lints Just use [`black`](https://github.com/psf/black).