A fast, pytest-compatible test runner: parallel by design, with built-in suite diagnostics
Project description
rstest
A fast, pytest-compatible test runner. Rust orchestration, your tests
unchanged: same plugins, same fixtures, same outcomes — parallel by design,
with built-in suite diagnostics (--doctor).
pip install rstest # pre-release: install from a built wheel for now, see docs/getting-started/installation.md
rstest
Parallel by default (-n auto). Tests that can't run in parallel can be
marked @pytest.mark.serial (they run exclusively, after the parallel
phase), order-dependent suites can use --dist loadfile, and rstest -n 0
gives a single pytest session with byte-exact pytest semantics.
The compat contract: at -n 0, outcomes are byte-exact. In parallel
modes, outcomes are preserved for parallel-safe tests; tests with hidden
time/ordering/shared-state assumptions can flake under high concurrency —
exactly as under pytest-xdist. rstest --doctor and lower -n values help
find and contain them; @pytest.mark.serial is the escape hatch.
Highlights:
- Drop-in: forwards the pytest flag surface; runs conftest, fixtures, parametrize, marks, and pytest plugins (pytest-django, pytest-asyncio, hypothesis, ...) through a vendored pytest core.
- Parallel by design: test-granular work distribution with duration-aware
scheduling;
@pytest.mark.serialand--dist loadfilesafety rails; crashed workers respawn without losing your run. rstest --doctor: wait-bound tests, parallel-floor analysis, fixture hotspots, slowest files.rstest --watch: instant reruns on save; changed test files rerun alone, source changes rerun only the tests the import graph says are affected.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rstest-0.2.1-py3-none-win_arm64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-win_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3, Windows ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce9cf6cd8af967ba6d40c683b8142fae785c7f437aec5bab619dc932b79f8c29
|
|
| MD5 |
6024db28505ad000344a5ee02e65f5aa
|
|
| BLAKE2b-256 |
e06c7c9c8c9feedf5dbc07fa550973dad5db7f260f83fef99635752b7f875a7b
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-win_arm64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-win_arm64.whl -
Subject digest:
ce9cf6cd8af967ba6d40c683b8142fae785c7f437aec5bab619dc932b79f8c29 - Sigstore transparency entry: 2175602159
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rstest-0.2.1-py3-none-win_amd64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-win_amd64.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e78c99bf2090458384094b7651555066c75aee50463222fa59020a8992ac5c58
|
|
| MD5 |
2afac59f25ce47b8dd137942d35c8c91
|
|
| BLAKE2b-256 |
b1b7af5981dc3ecb280d09486dce780e7ea821f29756d94ed446ff94c7b6ed53
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-win_amd64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-win_amd64.whl -
Subject digest:
e78c99bf2090458384094b7651555066c75aee50463222fa59020a8992ac5c58 - Sigstore transparency entry: 2175602293
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rstest-0.2.1-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b601fc52f60c0863abe704a4fb4b65d62a0f1613072c300d4dfbba01b2f9084a
|
|
| MD5 |
36cfd3eeec8e11c9ecde85b82477c9f9
|
|
| BLAKE2b-256 |
8278bf510f46869d9ef36d22f5a864f15654ba4c97c2780bc067a8318612f2f1
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
b601fc52f60c0863abe704a4fb4b65d62a0f1613072c300d4dfbba01b2f9084a - Sigstore transparency entry: 2175602194
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rstest-0.2.1-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bed5c4d97cbf4d04e42bcacdcbe60d5ad3dde5723a4d6cb42c5731c955512ba3
|
|
| MD5 |
bb2ead4d1afe2a82bd1db00ece3b1878
|
|
| BLAKE2b-256 |
58f085572ca02735036a6215e405a84136560d5e5c0bf92d559d6a2cc0f01a22
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-musllinux_1_2_aarch64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
bed5c4d97cbf4d04e42bcacdcbe60d5ad3dde5723a4d6cb42c5731c955512ba3 - Sigstore transparency entry: 2175602251
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rstest-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86e3e065b75178cb9e2ad832663b6c2445be01e192cb2aeb2ec632fd365362b8
|
|
| MD5 |
69999069abd1f75f2eb3319469293a04
|
|
| BLAKE2b-256 |
7461386a60d91681cd71623a127c92ed5cd2ada34935d43d567666395c654b43
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
86e3e065b75178cb9e2ad832663b6c2445be01e192cb2aeb2ec632fd365362b8 - Sigstore transparency entry: 2175602375
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rstest-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18236e8dadcb55c83e7c9f9672275c3aadd45ba40f7beed707732685114a637b
|
|
| MD5 |
eaa9086a36fea68a18db3ad3b2e4ea74
|
|
| BLAKE2b-256 |
8a639648b661bed128066de77098b3b9737d7d8456e65927cc2db8f223b7aaa7
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl -
Subject digest:
18236e8dadcb55c83e7c9f9672275c3aadd45ba40f7beed707732685114a637b - Sigstore transparency entry: 2175602224
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rstest-0.2.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: rstest-0.2.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef529d110582908c4d3216468281e055e65c33d0f798aaaac23eafcac7db0f13
|
|
| MD5 |
7cfe264b4a02323f888e4d4857fa499d
|
|
| BLAKE2b-256 |
08a46bb7e2de6b5407ef7dd2746222564dc360a70858f3d3217a18ebb19b9462
|
Provenance
The following attestation bundles were made for rstest-0.2.1-py3-none-macosx_11_0_arm64.whl:
Publisher:
release.yml on KovantAI/rstest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rstest-0.2.1-py3-none-macosx_11_0_arm64.whl -
Subject digest:
ef529d110582908c4d3216468281e055e65c33d0f798aaaac23eafcac7db0f13 - Sigstore transparency entry: 2175602329
- Sigstore integration time:
-
Permalink:
KovantAI/rstest@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/KovantAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@45f3a510be1ced756fe77f22f4a7df9d40c41de7 -
Trigger Event:
push
-
Statement type: