Skip to content

Fix for rounding error (div by zero)#26

Closed
bborn wants to merge 1 commit intosimplecov-ruby:masterfrom
bborn:master
Closed

Fix for rounding error (div by zero)#26
bborn wants to merge 1 commit intosimplecov-ruby:masterfrom
bborn:master

Conversation

@bborn
Copy link
Copy Markdown
Contributor

@bborn bborn commented Feb 24, 2011

No description provided.

@colszowka
Copy link
Copy Markdown
Collaborator

Patch applied, version 0.4.1 is out. Thanks @bborn

@lothar59: That doesn't seem to have much to do with this issue - did you add the require 'simplecov'/SimpleCov.start lines before anything else like it's stated in the README? If you load simplecov after everything else, it won't be able to track files.

@lothar59
Copy link
Copy Markdown

i did the following :

i created test/spec.rb with in :

require 'simplecov'
SimpleCov.start

i tried also :

require 'simplecov'
SimpleCov.start 'rails'

It doesn't change anything.

I created a rake file to launch that task.
i launch it this way : rake spec

but i got coverage 0.0%.

The return in my console :
Coverage report generated for Unit Tests to /home/thomas/ecodev/trunk/testApp/coverage. 0.0% covered.

@colszowka
Copy link
Copy Markdown
Collaborator

Does your coverage report have any files in it?

@lothar59
Copy link
Copy Markdown

yes i have an html file but when i open it i have 0.0% coverage. It doesn't any files. (0 file covered.)

iainbeeston added a commit to iainbeeston/simplecov that referenced this pull request Oct 29, 2014
1.8.7 support is a deliberate feature, for the time being (see simplecov-ruby#26)
iainbeeston added a commit to iainbeeston/simplecov that referenced this pull request Oct 29, 2014
1.8.7 support is a deliberate feature, for the time being (see simplecov-ruby#26)
This pull request was closed.
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.

3 participants