Is there a way to get RSpec to show intermediate results?

Every time I run RSpec tests, it disables the execution of everything. This is normal, except that I do not want to wait until the entire package is launched before I see what happened at the beginning of this series.

$ rspec spec/
...........F................................
+3
source share
3 answers

I think this is what you are looking for: http://jeffkreeftmeijer.com/2010/making-rspec-stop-operation-immediately-after-failing/

It stops RSpec after the first failure.

You should also look at this: http://jeffkreeftmeijer.com/2010/fuubar-the-instafailing-rspec-progress-bar-formatter/

This is the best RSpec formatter.

+8
source

, , - , , .

, rspec --format documentation. spec_helper.rb ( ).

, , , , , , . , , , , . , .

+1

, "rspec" (ctl + C), , , .

Unit Test , .

+1

Source: https://habr.com/ru/post/1775052/


All Articles