With rcov=true, rake task does not execute specs with rspec-core 2.7.0 #476

Closed
rsutphin opened this Issue Oct 17, 2011 · 3 comments

Comments

Projects
None yet
3 participants

In rspec-core 2.7.0, Rspec::Core::RakeTask does not execute any specs when the rcov attribute is true; minimal test case.

This seems to be due to the spec/autorun change mentioned in the 2.7.0 changelog (the rcov mode of the task assumes that spec scripts can be executed directly). A workaround is to require 'spec/autorun' in your spec helper or individual specs.

Contributor

Peeja commented Dec 3, 2012

Verified still failing with RSpec 1.12.0.

https://gist.github.com/4198528

Contributor

Peeja commented Dec 3, 2012

Also, this looks like a dupe of #422.

There's also talk of dropping RCov support in #625.

Contributor

alindeman commented Dec 4, 2012

Thank you @Peeja. Closing this one in favor of keeping discussion in #422.

alindeman closed this Dec 4, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment