#testing #flake #flaky #stress-test

app detect_flake

Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky

7 releases

Uses new Rust 2021

0.3.2 Aug 30, 2022
0.3.1 Aug 30, 2022
0.2.1 Apr 22, 2022
0.1.1 Nov 22, 2021

#77 in Testing

Download history 50/week @ 2022-06-07 27/week @ 2022-06-14 18/week @ 2022-06-21 7/week @ 2022-06-28 18/week @ 2022-07-05 19/week @ 2022-07-12 13/week @ 2022-07-19 24/week @ 2022-07-26 15/week @ 2022-08-02 50/week @ 2022-08-09 38/week @ 2022-08-16 39/week @ 2022-08-23 85/week @ 2022-08-30 76/week @ 2022-09-06 65/week @ 2022-09-13 59/week @ 2022-09-20

289 downloads per month

MIT license

6KB
131 lines

detect_flake

Run many instances of the same command in parallel to find abnormal behavior or check if a test is flaky.

Installation

cargo install detect_flake

Usage

detect_flake [FLAGS] [OPTIONS] --command <command>

Flags:

  • -h, --help — Prints help information
  • -V, --version — Prints version information
  • -i, --inherit-stdio — Inherit stdio instead of redirecting to /dev/null

Options:

  • -c, --command <command> — Command to run
  • -r, --runs-per-thread <runs-per-thread> — Number of serial runs per each thread [default: 100]
  • -t, --threads <threads> — Number of parallel threads [default: 10]

Dependencies

~2.2–3MB
~54K SLoC