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