nodejs / nodejs/node-addon-api

Add code coverage

Open
#1,136 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

never-stale
Dominant language
C++
Stars
2.4k
Forks
499
Avg merge
2d 11h
Merged PRs (30d)
2

Description

Add code coverage for node-addon-api, ideally run for every PR.

Could re-use same approach as for Node.js core which is in the Makefile - https://github.com/nodejs/node/blob/68c4b8d56d653a77747648b933618ade63bf2007/Makefile#L227

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the repository's Makefile and existing pull-request workflows, then compare the Node.js core Makefile approach linked in the issue. Add code coverage for node-addon-api and verify that coverage runs for every pull request.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js
Domain
build-system, ci-cd, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.