Skip to main content

'Test the stability of multithreaded code by adding random delays'

Project description

Jitterbug

Jitterbug is a testing tool for fuzzing parallel code. It does this by randomly inserting sleep commands into various places in your code before each test run. This is a great way to test the stability of multithreaded or parallel code.

Jitterbug supports py.test tests in Python 3.8+.

Quickstart

Jitterbug is available on PyPI, so it can be installed via:

$ pip install jitterbug --user --upgrade

Run jitterbug specifying the location of your code and its unit tests:

$ python -m jitterbug --source <PATH TO SOURCE> --test <PATH TO UNIT TESTS>

Project details


Download files

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

Source Distribution

jitterbug-0.1.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Supported by

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