Skip to content

Possible issue with partially covered code - Simplecov setup #766

Open
@luke-hill

Description

@luke-hill

I run Simplecov on site_prism - site-prism/site_prism#33 - This is an area I'm trying to update the coverage % value. For (possibly poor reasons), some code we only unit test and some code we feature test.

  • Include the SimpleCov version you are running in your report.
    0.17.x
  • Include your ruby -e "puts RUBY_DESCRIPTION".
    ruby -e "puts RUBY_DESCRIPTION"
    ruby: No such file or directory -- 2.3.8p459 (LoadError)
    (But I'm using ruby 2.3 on rvm succesfully)

The link referred has failing outputs. I would like to get the PR's to pass Travis.

The coverage % are as follows

RSpec - 98.4%
Cucumber - 95%
RSpec + Cucumber 99.2%

It could be I've set something up incorrect. But I've followed most of the instructions and tried a few different things. Esentially I want simplecov to only make the check for coverage once, at the very end of the command ran. But it seems to make the check after each rubocop / rspec / cucumber command. I'm not sure why.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions