bahmutov / bahmutov/real-time-coverage

Make virtual dom widget for code coverage display

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Based on istanbul reporter

``` html

Code coverage report for examples/calc.js





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 


 
 

 
 
 

 
 
 
 
 

 
// example program to be instrumented

function add(a, b) {
return a + b
}
 
function sub(a, b) {
return a - b
}
 
function abs(x) {
if (x < 0) {
return -x
}
return x
}
console.log('2 + 3 =', add(2, 3))
 


```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the issue's Istanbul reporter reference and the embedded HTML coverage report example. Identify the project's existing virtual DOM entry points, if any, before deciding how the widget fits in. Done should mean a virtual DOM widget can render the shown code coverage information, including line counts, coverage markers, source text, and the covered or uncovered styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.