Actions
action #130420
opencoordination #127031: [saga][epic] openQA for SUSE customers
coordination #130414: [epic] Improved code coverage in os-autoinst
Improved code coverage in os-autoinst - testapi size:S
Start date:
2023-06-06
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
To be able to safely improve and extend os-autoinst, we need to have reliable and stable unit tests with even better code coverage, at least 100% statement coverage. Continue with the path "testapi.pm"
Acceptance criteria¶
- AC1: codecov.yml ensures that we have 100.00% statement coverage (with explicit Devel::Cover exceptions allowed) for the path "testapi.pm"
Suggestions¶
- Identify areas showing less than 100.00% on https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/testapi.pm and
- Remove dead code
- As desired collect coverage locally as documented in the README, e.g.
make coverage
- Consider just looking at the web interface to verify current coverage (no need to reproduce reports locally)
- Add according test coverage
- Add explicit exception statements on unreachable code
- Add testapi.pm to codecov.yml "fully_covered" until the complete project reaches 100%
Out of scope¶
- Tests related to openQA or database-related
Updated by okurz over 1 year ago
- Copied from action #130417: Improved code coverage in os-autoinst - consoles added
Updated by okurz over 1 year ago
- Copied to action #130423: Improved code coverage in os-autoinst - all the rest added
Updated by okurz about 2 months ago
- Copied to action #165396: Improved code coverage in openQA for unit tests in t/ size:S added
Actions