Project

General

Profile

action #73084

javascript code coverage analysis

Added by okurz 10 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-10-07
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Motivation

We have more and more bugs in javascript and we struggle with test coverage, e.g. see https://github.com/os-autoinst/openQA/pull/3448#discussion_r500843602 . Same as for perl code we should have javascript code coverage analysis as part of our tests and CI runs.

Acceptance criteria

  • AC1: mkittler does not complain anymore that we do not have that ;)
  • AC2: javascript code coverage is analyzed whenever we also collect code coverage for perl code

Suggestions

  • Research good options for javascript
  • Find out how to visualize and/or combine with our existing approach
  • Define some threshold and fail a check during CI runs whenever the threshold is not fulfilled anymore

Also available in: Atom PDF