0.0
No commit activity in last 3 years
No release in over 3 years
A command-line utility to help debug flapping processes, including tests.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

flappinator

A command-line utility to help debug flapping* processes, including tests. It repeats any given command a number of times. When it fails, the command's output is displayed. May be useful for reproducing failures caught in CI (ex. Jenkins) locally, and also confirming that they're fixed.

* Tests that fail intermittently are known as "flappers", "flapping", "flaky", or "flakey".

Installation

gem install flappinator

Usage

flappinator [ --repetitions=TIMES ] COMMAND
  • --repetitions=TIMES: number of times to repeat the command (25 by default)
  • COMMAND: command to run (if it contains option flags (ex. -l56), prepend entire command with --)

Examples

  • RSpec

    flappinator rspec spec/models/flapping_spec.rb
  • Cucumber

    flappinator -- cucumber features/flapping.feature -l56