File size: 358 Bytes
5fa1a76 |
1 2 3 4 5 6 7 8 9 10 |
For example, to run all except test_modeling_*.py tests: pytest *ls -1 tests/*py | grep -v test_modeling* Clearing state CI builds and when isolation is important (against speed), cache should be cleared: pytest --cache-clear tests Running tests in parallel As mentioned earlier make test runs tests in parallel via pytest-xdist plugin (-n X argument, e.g. |