'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
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 Distribution
jitterbug-0.1.1.tar.gz
(5.3 kB
view details)
File details
Details for the file jitterbug-0.1.1.tar.gz
.
File metadata
- Download URL: jitterbug-0.1.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db283f84f0a96ae4a50b7d865da2902f87fe62a677729a1a08338b466999f7b5 |
|
MD5 | ee5708b2706d00a4f49f9f2cb907adb8 |
|
BLAKE2b-256 | 656e756d619d84e1fa364ec39dccaaa3b780e8926db19a552e471385b97135d7 |