Skip to content

Conversation

@josephfrazier
Copy link
Collaborator

It also prints it out after the tests like this:

=============================== Coverage summary ===============================
Statements   : 74.02% ( 1946/2629 )
Branches     : 54.6% ( 878/1608 )
Functions    : 75.5% ( 413/547 )
Lines        : 78.67% ( 1870/2377 )
================================================================================

@josephfrazier josephfrazier marked this pull request as ready for review January 9, 2021 07:36
@slevithan
Copy link
Owner

Since review was requested.... I'm down with this if you think it's useful. :)

(Stating the obvious, this won't give insight into the subtleties of regex and replacement text syntax that need to be tested.)

@josephfrazier
Copy link
Collaborator Author

Thanks for taking a look. My intent was to find code that would be made dead by #247 so it could be removed, but it didn't actually change the coverage of many lines.

I'll go ahead and merge it, since it does provide some insight into which code gets used by the test suite, at least one a given machine (I think a lot of the uncovered branches have to do with legacy support, so wouldn't get run on my machine).

@josephfrazier josephfrazier merged commit 650c62d into master Jan 9, 2021
@josephfrazier josephfrazier deleted the joseph/coverage branch January 9, 2021 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants