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

add line and branch coverage output expectation #1102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion features/branch_coverage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@ Feature:
end
"""
When I open the coverage report generated with `bundle exec rspec spec`
Then I should see the groups:
Then the output should contain:
"""
56 / 61 LOC (91.8%) covered
"""
And the output should contain:
"""
2 / 4 branches (50.0%) covered
"""
And I should see the groups:
| name | coverage | files |
| All Files | 91.8% | 7 |
And I should see a line coverage summary of 56/61
Expand Down
Loading