Reputation: 23796
Sometimes after I start the rspec tests, I realized that I wanted to change something; and if it's a long run I would love to be able to stop it in the middle, change whatever it was, and rerun the tests. Would someone tell me if that is possible and if it is, how to do it?
Upvotes: 3
Views: 1780
Reputation: 23796
One can stop the RSpec test in the middle by pressing ctrl-C twice.
Upvotes: 3
Reputation: 7731
As @zetetic said, press Control-C. Or, if you're running from an IDE, click the stop button for the test (not the server or other code you're testing!)
Upvotes: 0