Project

General

Profile

action #165396

Updated by livdywan 9 months ago

## 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 that we have at least 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`

Back