Skip to content

coverage: hide internal error paths from lcov - #897

Open
jodavies wants to merge 1 commit into
form-dev:masterfrom
jodavies:coverage-exclusion
Open

coverage: hide internal error paths from lcov#897
jodavies wants to merge 1 commit into
form-dev:masterfrom
jodavies:coverage-exclusion

Conversation

@jodavies

Copy link
Copy Markdown
Collaborator

Mark internal errors with:
/* INTERNAL_ERROR_EXCL_START /
/
INTERNAL_ERROR_EXCL_STOP */

These errors signify bugs in FORM and errors reading/writing from files, etc. In short, one could not reasonably be expected to write test cases which verify the error message. Marking them with the exclusion markers makes this clear in the code.

Mark internal errors with:
/* INTERNAL_ERROR_EXCL_START */
/* INTERNAL_ERROR_EXCL_STOP */

These errors signify bugs in FORM and errors reading/writing from files, etc.
In short, one could not reasonably be expected to write test cases which
verify the error message. Marking them with the exclusion markers makes this
clear in the code.
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 65.735%. first build — jodavies:coverage-exclusion into form-dev:master

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.

2 participants