Project

General

Profile

Actions

action #179212

open

coordination #177042: [saga][epic] Future ideas for higher quality os-autoinst+openQA product

coordination #177045: [epic] Improved development environment for os-autoinst

[spike][timeboxed:10h] Code coverage: Create Proof of Concept report about which code is covered by which unit test

Added by tinita 15 days ago. Updated 14 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2025-03-19
Due date:
% Done:

0%

Estimated time:

Description

Motivation

See #176595

We want to see if such a report would look useful. For that we only need to take the generated JSON data from https://github.com/os-autoinst/os-autoinst/pull/2644 and create a proof of concept HTML page.

If it looks useful, we can work on the other ticket to generate it regularly in CI.

Acceptance Criteria

  • AC1: Proof of Concept HTML report exists showing which line of code is covered by which .t files

Suggestions

For every source file we would have a table. Rows are the source lines, and then there would be columns for each .t file that covers a line.

e.g.

t/foo.t t/api/bar.t
if ($x == 23) { X X
do_something(); X

Related issues 1 (1 open0 closed)

Copied from openQA Project (public) - action #176595: [retro] Code coverage: Create report about which code is covered by which unit testNew2025-02-05

Actions
Actions #1

Updated by tinita 15 days ago

  • Copied from action #176595: [retro] Code coverage: Create report about which code is covered by which unit test added
Actions #2

Updated by okurz 15 days ago

  • Subject changed from [spike] [10h] Code coverage: Create Proof of Concept report about which code is covered by which unit test to [spike][timeboxed:10h] Code coverage: Create Proof of Concept report about which code is covered by which unit test
Actions #3

Updated by okurz 14 days ago

  • Target version changed from Tools - Next to future
Actions

Also available in: Atom PDF