Skip to main content

Flaky-Repro

Flaky-Repro is an empirical, frequency-based tool designed to diagnose and reproduce flaky tests under varying execution conditions (such as concurrency worker counts, mode configurations, and timing delays).

It is designed to help developers identify the specific runtime factors associated with test flakiness, helping speed up troubleshooting and reduce debugging frustration.

[!WARNING] Safety Warning: Flaky-Repro repeatedly executes target tests under parallel and timing-delayed environments. Only run it against tests and environments where repeated executions are safe and side effects are acceptable.


Why Use Flaky-Repro?

Diagnosing flaky tests is notoriously difficult because they often pass during local sequential runs but fail under high-concurrency CI environments. Flaky-Repro automates the process of executing tests under systematic variations to isolate candidate patterns (such as concurrency levels or timing conditions) and repeats them to confirm and reproduce the failure rate pattern.

Disclaimer: Flaky-Repro is an empirical tool. It does not mathematically prove a root cause; it ranks conditions based on the statistical difference in failure rates.


Installation

You can install Flaky-Repro locally from its built wheel:

pip install flaky_repro

Required dependencies: pytest (>= 7.0.0).


Usage

After installation, invoke the tool directly from your command line.

To run the bundled worker-sensitive validation example:

flaky-repro

To run against your own target test:

flaky-repro <target-test-path>

For example:

flaky-repro tests/test_my_code.py::test_concurrency

MVP Limitations

  • Currently optimized for Python environments running pytest.
  • Executes tests sequentially during baseline checks, and parallelizes using thread-level concurrency during investigation and reproduction stages.
  • Relies on process-level isolation for executing each test case.

Download files

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

Source Distribution

flaky_repro-0.1.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

flaky_repro-0.1.0-py3-none-any.whl (25.9 kB view details)

Uploaded Python 3

File details

Details for the file flaky_repro-0.1.0.tar.gz.

File metadata

  • Download URL: flaky_repro-0.1.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for flaky_repro-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1bfaf4e8e2e4e6c101c612e8f085c47281a819f018dfd59caf95474c3ab8ac1b
MD5 7e230fcbee13a5a129c6667902cfb533
BLAKE2b-256 a3761998667293871bbd912bf14c35d2fc10e3719f99fbafe02eb4f431146349

See more details on using hashes here.

Provenance

The following attestation bundles were made for flaky_repro-0.1.0.tar.gz:

Publisher: publish.yml on MrigankKumawat/Flaky-Repro

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

File details

Details for the file flaky_repro-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flaky_repro-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 25.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for flaky_repro-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd2aac6ad6fdcf0c846f772d19dde389caf662cab09c8c7434943813e1aae3c2
MD5 a4446e139b7dbfd28e1a5d7195cf146e
BLAKE2b-256 25ef71b1c9e84a844f656c1f6db9d8e56f89f359c598a5f63796ad636f1a2e02

See more details on using hashes here.

Provenance

The following attestation bundles were made for flaky_repro-0.1.0-py3-none-any.whl:

Publisher: publish.yml on MrigankKumawat/Flaky-Repro

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

2 files

This release

0.1.0 This release

2 files

Supported by

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