8000 Empty lines and certain statements on their own being marked as uncovered · Issue #19 · danmayer/coverband · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Empty lines and certain statements on their own being marked as uncovered #19
Closed
@wheybags

Description

@wheybags

with this code:

# blah.rb
def foo(x)
    if x == 2
        blah = 5 
    else
        blah = 7 
    end 

    return blah
end

# test.rb
...

coverband.start

foo 1
foo 2

coverband.stop
coverband.save
Coverband::Reporter.report

I get
screen shot 2014-09-12 at 03 00 34 p m

It seems to me like this should be 100% covered, and those lines marked as uncovered are incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0