Project

General

Profile

Actions

action #130423

open

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

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

Improved code coverage in os-autoinst - all the rest

Added by okurz over 1 year ago. Updated 13 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
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. All the rest besides "consoles/" or "testapi.pm"

Acceptance criteria

  • AC1: codecov.yml ensures that we have at least 100% statement coverage (with explicit Devel::Cover exceptions allowed) for the complete project

Suggestions

  • Identify areas showing less than 100.00% on https://app.codecov.io/gh/os-autoinst/os-autoinst and
    • Remove dead code that
    • Add according test coverage
    • Add explicit exception statements on unreachable code
  • Adapt codecov.yml to ensure 100% coverage for all paths replacing "fully_covered"

Related issues 1 (0 open1 closed)

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

Actions
Actions

Also available in: Atom PDF