Actions
action #165396
closedcoordination #127031: [saga][epic] openQA for SUSE customers
coordination #165393: [epic] Improved code coverage in openQA
Improved code coverage in openQA for unit tests in t/ size:S
Description
Motivation¶
To be able to safely improve and extend openQA, we need to have reliable and stable unit tests with even better code coverage, at least 100% statement coverage. Continue with the path t/
Acceptance criteria¶
- AC1: codecov.yml ensures 100% statement coverage (with explicit Devel::Cover exceptions allowed) for the path t/ in openQA
Suggestions¶
- Identify areas showing less than 100.00% on https://app.codecov.io/gh/os-autoinst/openQA/tree/master/t and
- Remove dead code
- Add according test coverage
- Add explicit exception statements on unreachable code
- Adjust the threshold in codecov.yml for t/ to keep 100%
- For really uncoverable lines add
# uncoverable statement
Updated by okurz 4 months ago
- Copied from action #130420: Improved code coverage in os-autoinst - testapi size:S added
Updated by okurz 2 months ago
- Copied to action #167914: Improved code coverage in openQA in lib/OpenQA/Worker added
Actions