markbates / markbates/cover_me

Blank line shows in red color

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
203
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Hi,I m using cover_me and rspec2 to test the controllers. cover_me showing a blank line between update and destroy action in red color. Can u tell me how to congigure that?
My result is below:
app/controllers/application_controller.rb - 100.0%
app/controllers/news_controller.rb - 94.6%
app/controllers/plans_controller.rb - 91.1%
app/controllers/sessions_controller.rb - 100.0%
app/helpers/application_helper.rb - 100.0%
app/helpers/news_helper.rb - 100.0%
app/helpers/plans_helper.rb - 100.0%
app/helpers/sessions_helper.rb - 100.0%
app/models/news.rb - 100.0%
app/models/plan.rb - 100.0%
Total - 98.57%

Even i m having > 90% my overall test result shows in red color. Where i m doing false?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with cover_me and rspec2 using the listed controller coverage output, focusing on the blank line between the update and destroy actions. Inspect how the coverage result colors blank lines and the overall percentage. Done means blank lines are not falsely shown in red and a coverage result above 90% is displayed consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.