Page MenuHomePhabricator

Test nyc coverage reports
Closed, InvalidPublic

Description

In most of our JavaScript tests, coverage reports are not generated. NYC is one of the tools available that can generate coverage reports for various test frameworks.

To enhance Sonar coverage reporting, NYC can be used to generate an lcov file from our Selenium tests. If it works flawlessly in our CI environment, it will significantly improve our coverage numbers.

Details

Event Timeline

Change 965581 had a related patch set uploaded (by Pwangai; author: Pwangai):

[mediawiki/extensions/CheckUser@master] [WIP] Generate javascript coverage reports

https://gerrit.wikimedia.org/r/965581

@pwangai: Assuming this task is about the CheckUser code project, hence adding that project tag so other people can also find this task when searching via projects. Please set appropriate project tags when possible. Thanks!

@Aklapper : Thanks, I will make sure to add the project tags in future.

pwangai added a project: User-pwangai.
pwangai moved this task from Backlog to In Progress on the User-pwangai board.

Change #965581 abandoned by Pwangai:

[mediawiki/extensions/CheckUser@master] [WIP] Generate javascript coverage reports

https://gerrit.wikimedia.org/r/965581