Project

General

Profile

Actions

action #130420

open

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

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

Improved code coverage in os-autoinst - testapi size:S

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

Status:
Workable
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 path "testapi.pm"

Acceptance criteria

  • AC1: codecov.yml ensures that we have 100.00% statement coverage (with explicit Devel::Cover exceptions allowed) for the path "testapi.pm"

Suggestions

  • Identify areas showing less than 100.00% on https://app.codecov.io/gh/os-autoinst/os-autoinst/blob/master/testapi.pm and
  • Remove dead code
  • As desired collect coverage locally as documented in the README, e.g. make coverage
  • Consider just looking at the web interface to verify current coverage (no need to reproduce reports locally)
  • Add according test coverage
  • Add explicit exception statements on unreachable code
  • Add testapi.pm to codecov.yml "fully_covered" until the complete project reaches 100%

Out of scope

  • Tests related to openQA or database-related

Related issues 3 (2 open1 closed)

Copied from openQA Project - action #130417: Improved code coverage in os-autoinst - consolesNew2023-06-06

Actions
Copied to openQA Project - action #130423: Improved code coverage in os-autoinst - all the restNew2023-06-06

Actions
Copied to openQA Project - action #165396: Improved code coverage in openQA for unit tests in t/ size:SResolvedmkittler

Actions
Actions #1

Updated by okurz over 1 year ago

  • Copied from action #130417: Improved code coverage in os-autoinst - consoles added
Actions #2

Updated by okurz over 1 year ago

  • Copied to action #130423: Improved code coverage in os-autoinst - all the rest added
Actions #3

Updated by okurz about 2 months ago

  • Copied to action #165396: Improved code coverage in openQA for unit tests in t/ size:S added
Actions #4

Updated by tinita 28 days ago

  • Target version changed from future to Ready
Actions #5

Updated by okurz 15 days ago

  • Subject changed from Improved code coverage in os-autoinst - testapi to Improved code coverage in os-autoinst - testapi size:S
  • Description updated (diff)
  • Status changed from New to Workable
Actions #6

Updated by okurz 14 days ago

  • Target version changed from Ready to Tools - Next
Actions

Also available in: Atom PDF