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

Number at right side of green lines #184

Closed
cczona opened this issue Dec 17, 2012 · 3 comments
Closed

Number at right side of green lines #184

cczona opened this issue Dec 17, 2012 · 3 comments
Labels

Comments

@cczona
Copy link

cczona commented Dec 17, 2012

What is the meaning of the number at the right side of green lines in coverage detail?

i.e.

1 def foo() 1 <---
2 baz 23 <---
3 end

@colszowka
Copy link
Collaborator

That is the number of times that individual line was hit :)

@Steinitch
Copy link

Is there anyway to know what tests 'hit' the line?

@simplecov-ruby simplecov-ruby locked and limited conversation to collaborators May 22, 2015
@bf4
Copy link
Collaborator

bf4 commented May 22, 2015

@Steinitch Not at this time. Until recently, the Coverage module in the ruby standard library did not let you start and stop it, which made it difficult to get a before and after for individual tests. Per http://tenderlovemaking.com/2015/02/13/predicting-test-failues.html looks like we may be able to do this with more work on future versions of Ruby. A PR or issue relating to that is welcome.

Otherwise, please see #340 for some more information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants