You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We can't require it automatically because doing so means that just loading rspec into the environment means the specs will run. We have yet to come up with a reliable automatic way to do it, and until we do it's going to remain a burden on the user to require 'rspec/autorun'.
I'll leave this open as a reminder to improve the documentation around this.
I just upgraded from 2.6.0 to 2.8.0 and after that rcov fails to run. It produces no output at all and any check on coverage subsequently fails. Some quick googling yielded http://blog.thefrontiergroup.com.au/2011/05/rspec-2-6-0-and-rcov/ and indeed, adding
to the
spec_helper.rb
solved the issue. I guess that file is still intended to be required automatically?The text was updated successfully, but these errors were encountered: