Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Meta Issue: Code Coverage #109

Open
hermanventer opened this issue Apr 1, 2019 · 0 comments
Open

Meta Issue: Code Coverage #109

hermanventer opened this issue Apr 1, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@hermanventer
Copy link
Contributor

Issue

Some parts of the MIRAI code base are not covered by integration tests. You task here is to find such bits of code and to create an issue for each of them. Ideally follow up with a PR that contains a test case that covers that bit of code.

Steps to Reproduce

As you read through the code base to get to know it, click on the coverage button so see code coverage. The code coverage tools is not quite perfect, so you might see lines that are marked as not covered when they obviously are, but there will be some cases that are not obviously covered. You can verify that a line of code is not covered by setting a break point on it and running the integration tests from the debugger.

If you are going to follow up with a PR to fix this omission, the next step would be to set some breakpoints in the surrounding covered code to find the test cases that reach then and then try to mutate one or more of those test cases to instead or also reach the uncovered code.

Expected Behavior

Every executable source line should be reached by an integration test case.

Actual Results

Some code lines are not so covered.

@hermanventer hermanventer added the good first issue Good for newcomers label Apr 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant