Actions
action #167926
opencoordination #127031: [saga][epic] openQA for SUSE customers
coordination #130414: [epic] Improved code coverage in os-autoinst
Cover code of os-autoinst path autotest.pm fully (statement coverage) size:S
Description
Acceptance criteria¶
- AC1: the path autotest.pm is listed in codecov.yml under "fully_covered"
Suggestions¶
- Take a look into https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/autotest.pm about what is missing
- Add unit test statement coverage for that to bump the target
Files
Updated by okurz 2 months ago
- Copied from action #167923: Cover code of os-autoinst path script/ fully (statement coverage) added
Updated by okurz 2 months ago
- Copied to action #167929: Cover code of os-autoinst path testapi.pm fully (statement coverage) size:M added
Updated by gpathak 5 days ago
Created a draft PR: https://github.com/os-autoinst/os-autoinst/pull/2594
Updated by gpathak 4 days ago
- File coverage.html coverage.html added
Updated by livdywan 3 days ago
- Take a look into https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/autotest.pm about what is missing
Indeed. There's uncovered bits visible on Codecov.
Updated by gpathak 3 days ago
gpathak wrote in #note-9:
Attached code coverage generated html file.
It's just, I am unable to understand how to test subrouties calling_exit()
at the end.
@okurz @mkittler Please review the attached code coverage. If it looks okay, I will then mark the Pull request ready for merging.
I couldn't find a way to catch _exit()
in unit tests. I will try to find any existing test implementation.
Actions