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 about 24 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2024-09-06
Due date:
% Done:

62%

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 8 (3 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:SWorkable2024-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
action #173881: Cover code of openQA path script/client fully (statement coverage)New

Actions
action #174259: [sporadic] isotovideo fails complaining about still existing testfd filehandleWorkabletinita

Actions

Related issues 1 (1 open0 closed)

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

Actions
Actions #1

Updated by okurz 4 months ago

Actions #2

Updated by okurz 4 months ago

  • Subtask #165396 added
Actions #3

Updated by okurz 2 months ago

  • Subtask #167914 added
Actions #4

Updated by okurz 2 months ago

  • Subtask #167803 added
Actions #5

Updated by okurz 2 months ago

  • Subtask #167611 added
Actions #6

Updated by okurz 2 months ago

  • Subtask #166445 added
Actions #7

Updated by okurz 2 months ago

  • Subtask #167482 added
Actions #8

Updated by okurz 13 days ago

  • Subtask #173881 added
Actions #9

Updated by tinita 7 days ago

  • Subtask #174259 added
Actions

Also available in: Atom PDF