Project

General

Profile

Actions

coordination #165393

open

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

[epic] Improved code coverage in openQA

Added by okurz 8 months ago. Updated 1 day ago.

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

47%

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 23 (12 open11 closed)

action #163940: Warning in test: SQL::Translator::Diff::schema_diff(): producer_args is deprecated size:SResolvedokurz2024-07-15

Actions
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":retryBlockedokurz2024-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: [beginner][easy] Cover code of openQA path script/client fully (statement coverage)New

Actions
action #174259: [sporadic] isotovideo fails complaining about still existing testfd filehandle size:MResolvedmkittler

Actions
action #178111: [beginner][openQA][CI] Unhandled output in t/05-scheduler-restart-and-duplicate.tResolvedtinita

Actions
action #178114: [beginner][openQA][CI] Unhandled output in t/deploy.tResolvedtinita2025-03-01

Actions
action #178117: [openQA][CI] Prevent unhandled output in prove test calls with automatic checks size:SWorkable2025-03-01

Actions
action #178207: t: Many leftover t/poolXXXX directories in openQA size:SResolvedgpuliti2025-03-03

Actions
action #178933: [beginner][easy] Cover code of openQA path script/ fully (statement coverage)New2025-03-14

Actions
action #178936: [beginner][easy] Cover code of openQA path lib/ fully (statement coverage)New2025-03-14

Actions
action #178939: [beginner][easy] Cover code of openQA path lib/OpenQA fully (statement coverage)New2025-03-14

Actions
action #178942: [beginner][easy] Cover code of openQA path lib/OpenQA/Utils.pm (statement coverage) size:SIn Progressemiler2025-03-14

Actions
action #178945: [beginner][easy] Cover code of openQA path lib/OpenQA/BuildResults.pm (statement coverage)Resolvedgpuliti2025-03-14

Actions
action #178948: [beginner][easy] Cover code of openQA path lib/OpenQA/WebAPI (statement coverage)New2025-03-14

Actions
action #178951: [beginner][easy] Cover code of openQA path lib/OpenQA/Task (statement coverage)New2025-03-14

Actions
action #178954: [beginner][easy] Cover code of openQA path lib/OpenQA/Shared (statement coverage)New2025-03-14

Actions
action #178957: [beginner][easy] Cover code of openQA path lib/OpenQA/Script (statement coverage)New2025-03-14

Actions
action #179708: Ensure clean git status in openQA testsNewtinita2025-03-03

Actions

Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by okurz 8 months ago

Actions #2

Updated by okurz 8 months ago

  • Subtask #165396 added
Actions #3

Updated by okurz 6 months ago

  • Subtask #167914 added
Actions #4

Updated by okurz 6 months ago

  • Subtask #167803 added
Actions #5

Updated by okurz 6 months ago

  • Subtask #167611 added
Actions #6

Updated by okurz 6 months ago

  • Subtask #166445 added
Actions #7

Updated by okurz 6 months ago

  • Subtask #167482 added
Actions #8

Updated by okurz 4 months ago

  • Subtask #173881 added
Actions #9

Updated by tinita 4 months ago

  • Subtask #174259 added
Actions #10

Updated by okurz about 1 month ago

  • Subtask #178111 added
Actions #11

Updated by okurz about 1 month ago

  • Subtask #178114 added
Actions #12

Updated by okurz about 1 month ago

  • Subtask #178117 added
Actions #13

Updated by okurz about 1 month ago

  • Subtask #178207 added
Actions #14

Updated by okurz 21 days ago

  • Subtask #163940 added
Actions #15

Updated by tinita 21 days ago

  • Subtask deleted (#163940)
Actions #16

Updated by tinita 21 days ago

  • Subtask #163940 added
Actions #17

Updated by okurz 20 days ago

  • Subtask #178933 added
Actions #18

Updated by okurz 20 days ago

  • Subtask #178936 added
Actions #19

Updated by okurz 20 days ago

  • Subtask #178939 added
Actions #20

Updated by okurz 20 days ago

  • Subtask #178942 added
Actions #21

Updated by okurz 20 days ago

  • Subtask #178945 added
Actions #22

Updated by okurz 20 days ago

  • Subtask #178948 added
Actions #23

Updated by okurz 20 days ago

  • Subtask #178951 added
Actions #24

Updated by okurz 20 days ago

  • Subtask #178954 added
Actions #25

Updated by okurz 20 days ago

  • Subtask #178957 added
Actions #26

Updated by okurz 3 days ago

  • Subtask #179708 added
Actions

Also available in: Atom PDF