Project

General

Profile

Actions

coordination #165393

open

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

[epic] Improved code coverage in openQA

Added by okurz 4 months ago. Updated 16 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
QA (public, currently private due to #173521) - future
Start date:
2024-09-06
Due date:
% Done:

83%

Estimated time:
(Total: 0.00 h)

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.

Acceptance criteria

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

Suggestions

  • Identify areas showing less than 100.00% on https://app.codecov.io/gh/os-autoinst/openQA and
    • Remove dead code that
    • Add according test coverage
    • Add explicit exception statements on unreachable code
  • Add each area to codecov.yml "fully_covered" until the complete project reaches 100%

Subtasks 6 (1 open5 closed)

action #165396: Improved code coverage in openQA for unit tests in t/ size:SResolvedmkittler

Actions
openQA Tests (public) - action #166445: [openQA-in-openQA][sporadic] test fails in tests, simple_boot incomplete auto_review:"no candidate needle.*openqa-test-details.*matched":retry size:MWorkablejbaier_cz2024-09-06

Actions
action #167482: [sporadic] codecov checks missing from pull requests size:SResolvedybonatakis2024-09-13

Actions
action #167611: [sporadic] t/ui/21-admin-needles.t fails - Failed test 'search five_month needle correctly' size:SResolvedmkittler2024-09-30

Actions
action #167803: flaky coverage: lib/OpenQA/Shared/Controller/Running.pm size:SResolvedmkittler2024-10-04

Actions
action #167914: Improved code coverage in openQA in lib/OpenQA/WorkerResolvedmkittler2024-10-08

Actions

Related issues 1 (1 open0 closed)

Copied from openQA Project (public) - coordination #130414: [epic] Improved code coverage in os-autoinstBlockedokurz2023-06-06

Actions
Actions

Also available in: Atom PDF