Skip to main content

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
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.serial and --dist loadfile safety 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

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rstest-0.3.1-py3-none-win_arm64.whl (2.3 MB view details)

Uploaded Python 3Windows ARM64

rstest-0.3.1-py3-none-win_amd64.whl (2.5 MB view details)

Uploaded Python 3Windows x86-64

rstest-0.3.1-py3-none-musllinux_1_2_x86_64.whl (3.0 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

rstest-0.3.1-py3-none-musllinux_1_2_aarch64.whl (2.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

rstest-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

rstest-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

rstest-0.3.1-py3-none-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file rstest-0.3.1-py3-none-win_arm64.whl.

File metadata

  • Download URL: rstest-0.3.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/7.0.0 CPython/3.13.14

File hashes

Hashes for rstest-0.3.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 3abcf69d116738b644e8bd75a3014201a101afa87fa6c8cb969e7b62328dca04
MD5 2bbc61beb37c6671f8ba7ee070ce0cc4
BLAKE2b-256 1a3691c4ef983f05c391c66d4c3cea12a112baf841360c2c64af5e0c7aef6b2e

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-win_arm64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rstest-0.3.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: rstest-0.3.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/7.0.0 CPython/3.13.14

File hashes

Hashes for rstest-0.3.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5be9149cde34d9a4b8f700a936a16ec3de1d2483aeea450adf269eeb87954900
MD5 20c5d7cdd274b28ee2a083a26775b4de
BLAKE2b-256 5bdf7d4087ab6e32252fc7fa7790a082f1febee7a07c8b6f49afb57e32d9158f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-win_amd64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rstest-0.3.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rstest-0.3.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d25eca6558b426821c8b94c474f74b59c93a5ea4b53c8ce36d265c9ebb18c84b
MD5 d9de7827037ed8facb213f3f9cf9b61b
BLAKE2b-256 153766eceabb50f2eb2f708803b6191c95c9766f42625e1607f246c609213542

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-musllinux_1_2_x86_64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rstest-0.3.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rstest-0.3.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 7d7f2bb656af424373c73d625599aeb8e18bd1b71df8c2c1253f0928744a5198
MD5 ec67d7f14bd97fa0ad84f9157b43b8f3
BLAKE2b-256 e9d81246b9adbce2b60fe028581c158c1fb46103aadc732e69b99d89d3c39d91

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-musllinux_1_2_aarch64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rstest-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rstest-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 511a27900789d0c0fb8cc9fc1a624fbcd405e1ade4943ca9f7f9efcc922550a5
MD5 89dc7eb7451e94471c1ae8472022c12c
BLAKE2b-256 05419e6eb81f3395cd89bca62a44293dabf946b5e82a3c9ed21e29bf6c20f2e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rstest-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rstest-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 629d3194a52e1b4f6f100a21c7d454ba5a8b327f4a1f18cf363d2f7aed8e6162
MD5 482b6a3cd2db3a4e93779ebbc1faeef3
BLAKE2b-256 09e1ac423c0e2a4d8f9e4d23ac9b5d42a22ed984161a261995a313a2c0445522

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rstest-0.3.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rstest-0.3.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ca0535cefe1b19a063e3760ea39da3c7de04e44bc7ec9d2359cb371a4b57a5b5
MD5 dd289dbd011c52a4af6dbc137d527759
BLAKE2b-256 d75419124dfab7a18f15bcaa1dac3eebbc3358a08fcdd99d03e4699cdbffbfca

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.3.1-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on KovantAI/rstest

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.0

7 files

This release

0.3.1 This release

7 files

0.2.1

7 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page