Actions
action #168370
closedcoordination #127031: [saga][epic] openQA for SUSE customers
coordination #130414: [epic] Improved code coverage in os-autoinst
Improved code coverage in os-autoinst - consoles/sshVirtsh.pm size:M
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 directory "consoles/"
Acceptance criteria¶
- AC1: codecov.yml ensures that we have at least 100% statement coverage (with explicit Devel::Cover exceptions allowed) in consoles/sshVirtsh.pm
Suggestions¶
- Identify areas showing less than 100.00% on
https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/consoles%2FsshVirtsh.pm
- Remove dead code
- Add according test coverage
- Add explicit exception statements on unreachable code
- Add consoles/ to codecov.yml "fully_covered" until the complete project reaches 100%
Actions