Created
June 14, 2017 12:08
-
-
Save filipechagas/9598c9326fe74cb27b48db45807fd8df to your computer and use it in GitHub Desktop.
Saving failing tests in a file to run them later
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
# spec_helper.rb | |
RSpec.configure do |config| | |
config.example_status_persistence_file_path = "examples.txt" | |
end | |
# when running the tests it's gonna write the failing tests in the examples.txt file | |
# then you can run the tests again this way | |
# rspec spec --only-failures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment