Last active
February 23, 2023 17:07
-
-
Save ArturT/2ed147f1ac57319b8f7157f19641e88f to your computer and use it in GitHub Desktop.
How to reproduce a flaky test. Run a flaky test until it fails.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# bash | |
while [ "$?" == 0 ]; do rspec spec/flaky_spec.rb:123; done | |
# zsh | |
while rspec spec/flaky_spec.rb:123; do :; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to speed up Ruby and JavaScript tests with CI parallelization