Skip to main content

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

Project details


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.2.1-py3-none-win_arm64.whl (2.3 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

rstest-0.2.1-py3-none-musllinux_1_2_x86_64.whl (2.9 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

rstest-0.2.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.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

rstest-0.2.1-py3-none-macosx_11_0_arm64.whl (2.5 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

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

Hashes for rstest-0.2.1-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 ce9cf6cd8af967ba6d40c683b8142fae785c7f437aec5bab619dc932b79f8c29
MD5 6024db28505ad000344a5ee02e65f5aa
BLAKE2b-256 e06c7c9c8c9feedf5dbc07fa550973dad5db7f260f83fef99635752b7f875a7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.2.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.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

Hashes for rstest-0.2.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 e78c99bf2090458384094b7651555066c75aee50463222fa59020a8992ac5c58
MD5 2afac59f25ce47b8dd137942d35c8c91
BLAKE2b-256 b1b7af5981dc3ecb280d09486dce780e7ea821f29756d94ed446ff94c7b6ed53

See more details on using hashes here.

Provenance

The following attestation bundles were made for rstest-0.2.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.2.1-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for rstest-0.2.1-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b601fc52f60c0863abe704a4fb4b65d62a0f1613072c300d4dfbba01b2f9084a
MD5 36cfd3eeec8e11c9ecde85b82477c9f9
BLAKE2b-256 8278bf510f46869d9ef36d22f5a864f15654ba4c97c2780bc067a8318612f2f1

See more details on using hashes here.

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

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.2.1-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for rstest-0.2.1-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bed5c4d97cbf4d04e42bcacdcbe60d5ad3dde5723a4d6cb42c5731c955512ba3
MD5 bb2ead4d1afe2a82bd1db00ece3b1878
BLAKE2b-256 58f085572ca02735036a6215e405a84136560d5e5c0bf92d559d6a2cc0f01a22

See more details on using hashes here.

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

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.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rstest-0.2.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86e3e065b75178cb9e2ad832663b6c2445be01e192cb2aeb2ec632fd365362b8
MD5 69999069abd1f75f2eb3319469293a04
BLAKE2b-256 7461386a60d91681cd71623a127c92ed5cd2ada34935d43d567666395c654b43

See more details on using hashes here.

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

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.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for rstest-0.2.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 18236e8dadcb55c83e7c9f9672275c3aadd45ba40f7beed707732685114a637b
MD5 eaa9086a36fea68a18db3ad3b2e4ea74
BLAKE2b-256 8a639648b661bed128066de77098b3b9737d7d8456e65927cc2db8f223b7aaa7

See more details on using hashes here.

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

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.2.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rstest-0.2.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef529d110582908c4d3216468281e055e65c33d0f798aaaac23eafcac7db0f13
MD5 7cfe264b4a02323f888e4d4857fa499d
BLAKE2b-256 08a46bb7e2de6b5407ef7dd2746222564dc360a70858f3d3217a18ebb19b9462

See more details on using hashes here.

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

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page