Skip to content

A command-line utility to help debug flapping processes, including tests.

License

Notifications You must be signed in to change notification settings

toddmazierski/flappinator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A command-line utility to help debug flapping processes, including tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages