Run commands until it fails
Project description
[](https://app.codacy.com/app/jeremad/looper?utm_source=github.com&utm_medium=referral&utm_content=jeremad/looper&utm_campaign=Badge_Grade_Dashboard) [](https://opensource.org/licenses/MIT) [](https://travis-ci.org/jeremad/looper) [](https://codecov.io/gh/jeremad/looper)
# Basic tool to run commands in loop
This tool was intended to help QA guy like me with flaky tests, buy either measuring the “flakyness” of the test, or run it until it fails to debug it.
## Usage
Let’s say your test command is run test
### Debug
You want to run a test until it fails to debug it, and you know it may take a while: $ looper –max-tries 0 –stop-on-first-fail “run test”
max-tries to 0, means that there is no limit to the number of times a test can sucessfully run
### Measure
You want to find the failing rate of a test of out 1000 runs: $ looper –max-tries 1000 “run test”
At the end you will have a sumary
## Installation
pip install –user py-loop
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py-loop-0.3.1.tar.gz.
File metadata
- Download URL: py-loop-0.3.1.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.5rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b04bedabde0dbfa3afceb0b6ff22cc3c382f8e51910da45bcf586b65155b4c22
|
|
| MD5 |
900f7b7dddb7bc0ef1cc4e7037b67e11
|
|
| BLAKE2b-256 |
49e493377b1ee93f6f652c4ce8ccaa419f9e8a3428d0303f2183509ba8875dfd
|
File details
Details for the file py_loop-0.3.1-py3-none-any.whl.
File metadata
- Download URL: py_loop-0.3.1-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.5rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c70c40d824bbf8a92c91cb6115e80c3705bef6a57aa064eec1d10a12a2166072
|
|
| MD5 |
d47711438ffa88d098dbe7e2f2bee640
|
|
| BLAKE2b-256 |
d8b9f1e042a8014cfd26535a78c1b81aa29d81d48aa50b9683a5b933e9491d30
|