Skip to content
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

Use simplecov instead of rcov. #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lukeasrodgers
Copy link
Contributor

This PR replaces rcov with simplecov, which supports ruby 2, as well as 1.9.3 and 1.8.7.

Tested with (bundle exec) rake coverage on ruby 2.1.2 and 1.9.3.

Set ENV['COVERAGE'] from the :coverage task, for backwards compatibility, though preferred way to run this would just be COVERAGE=true bundle exec rake test.

I wasn't able to get rcov running on master, so I couldn't compare the output of simplecov with the (old) rcov output, but the simplecov output seems reasonable.

@lukeasrodgers
Copy link
Contributor Author

Failed for ree and ruby 2.0.0, I'll see if I can determine why.

@fcheung
Copy link
Contributor

fcheung commented Dec 17, 2014

There is a spec order dependent failure that I fixed in #206 - looks similar to that

@lukeasrodgers
Copy link
Contributor Author

Yeah, looks like a likely culprit -- thanks @fcheung.

@lukeasrodgers
Copy link
Contributor Author

Going to rebase this off master, now that #206 has been merged.

Supports ruby 2, in addition to 1.9.3 and 1.8.7
Set ENV['COVERAGE'] from the :coverage task, for backwards
compatibility, though preferred way to run this would just be
`COVERAGE=true bundle exec rake test`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants