Skip to content

Commit

Permalink
Make sure Mocks are not included in code coverage statistics
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Cobbett <[email protected]>
  • Loading branch information
techcobweb committed Sep 2, 2024
1 parent 87efb62 commit aa6f9e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ build/coverage-sanitised.out : build/coverage.out
cat build/coverage.out \
| grep -v "Mock" \
| grep -v "ixtures" \
> build/coverage-no-mocks.out
> build/coverage-sanitised.out

# Unit test output --> an html report.
build/coverage.html : build/coverage-sanitised.out
Expand Down

0 comments on commit aa6f9e0

Please sign in to comment.