Project

General

Profile

Actions

action #130417

closed

coordination #127031: [saga][epic] openQA for SUSE customers

coordination #130414: [epic] Improved code coverage in os-autoinst

Improved code coverage in os-autoinst - consoles/amtSol or remove along with the deprecated backend size:S

Added by okurz almost 2 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
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) for the file "consoles/amtSol" (if it still exists)

Suggestions

  • First consider if we can obsolete and delete the backend amt and according console (compare to previous obsoletions)
  • Identify areas showing less than 100.00% on https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/consoles%2FamtSol.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%

Related issues 3 (0 open3 closed)

Related to openQA Project (public) - action #170476: Cover code of os-autoinst path backend/ fully (statement coverage) (again)Resolvedjbaier_cz2024-11-28

Actions
Copied to openQA Project (public) - action #130420: Improved code coverage in os-autoinst - testapi size:SResolvedmkittler2023-06-06

Actions
Copied to openQA Project (public) - action #168364: Improved code coverage in os-autoinst - consoles/s3270 size:MResolvedgpathak2023-06-06

Actions
Actions

Also available in: Atom PDF