Actions
action #174268
closedcoordination #127031: [saga][epic] openQA for SUSE customers
coordination #130414: [epic] Improved code coverage in os-autoinst
Improved code coverage in os-autoinst - consoles/video_base.pm size:S
Start date:
2024-12-12
Due date:
% Done:
100%
Estimated time:
Tags:
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/video_base.pm
Suggestions¶
- Identify areas showing less than 100.00% on
https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/consoles%2Fvideo_base.pm
- Remove dead code
- Add according test coverage
- Add explicit exception statements on unreachable code
- Add consoles/video_base to codecov.yml "fully_covered" until the complete project reaches 100%
Updated by okurz 7 days ago
- Copied from action #174256: Improved code coverage in os-autoinst - consoles/ssh_screen.pm size:S added
Updated by okurz 7 days ago
- Copied to action #174271: Improved code coverage in os-autoinst - consoles/vnc_base.pm size:S added
Updated by gpuliti 1 day ago
Pull request ready: https://github.com/os-autoinst/os-autoinst/pull/2595
Updated by gpuliti about 16 hours ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Methods are overridden but they are the same of the base model https://github.com/os-autoinst/os-autoinst/blob/master/consoles/video_base.pm and that is already covered on its tests
Actions