rspec/rspec-core — Issue #479: Regression report: RCov doesn't work again with 2.7.0
Author: NoICE
Created: 2011-10-19 01:47:02+00:00
State: open

Hi, I've just scratched my head for about 15 minutes, debugging whatever came to my mind, then I'd landed at this issue.

https://github.com/rspec/rspec-core/issues/370

I'm running rcov with rspec and ci_reporter like this:

ruby -S rcov -Ispec:lib --rails --exclude /gems/,/Library/,/usr/,lib/tasks,.bundle,config,/lib/rspec/,/lib/rspec-,spec ./spec/*/*/*_spec.rb ./spec/*/*_spec.rb -- --require /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/ci_reporter-1.6.5/lib/ci/reporter/rake/rspec_loader --format CI::Reporter::RSpec

It seems it stopped working again... just blank output with rspec-(core|rails) 2.7.0.
Putting that require 'rspec/autorun' got it working again.