-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only coverage.data is created #51
Comments
I had the same issue (just installed today for the first time). For some reason CoverMe.complete! isn't being called. A quickfix that seems to work for me is to edit $GEM_HOME/gems/cover_me*/lib/cover_me.rb and append CoverMe.complete! to the at_exit block at the end of the file. |
sriedel - Your solution worked for me. Thanks. |
I am having the same issue, and @sriedel's workaround worked for me too. |
You can also ensure that the RSpec.configure do |config|
config.after(:suite) do
CoverMe.complete!
end
end |
I also encountered and resolved this issue by sriedel's way, thank you. |
Hi,
I am running ruby 1.9.2 and rspec 2.6.0, I run "rake spec" which runs all my rspec tests and only a coverage.data file is created no coverage directory. I only added require 'cover_me' to my spec_helper.rb and this is my Rakefile:
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
Any help would be great, let me know if you need any more information.
Thanks,
Jay
The text was updated successfully, but these errors were encountered: