Actions
action #179212
opencoordination #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
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¶
- JSON Data can be retrieved from here: https://github.com/perlpunk/os-autoinst/actions/runs/13619564612 (or simply run the PR on your fork and look into your fork's Action tab)
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 |
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