Merge #1271: tests: add a note to README.md about running tests in parallel

ef5291d7e8ebfd4ab14a91197ef5d0bf275586f9 tests: add a note to README.md about running tests in parallel (pythcoiner)

Pull request description:

ACKs for top commit:
  edouardparis:
    ACK ef5291d7e8ebfd4ab14a91197ef5d0bf275586f9

Tree-SHA512: 23430e65e05c4b54a7a9eae2110a4e17c14952bcd727284805201deedd5eeee36b2a9ebc1a612624e8a2cff3e6943d31515008c65a0b5d4fbb3a34734a3b57dd
This commit is contained in:
edouardparis 2025-01-23 12:34:25 +01:00
commit 440efa7b61
No known key found for this signature in database
GPG Key ID: E65F7A089C20DC8F

View File

@ -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).