Skip to content

[Documentation Suggestion] How To Contribute To Unit Tests #27820

Open
@srcmake

Description

@srcmake

Description
I'm new to the Node project and I want to help contribute, and I've seen suggestions that a great way to contribute is to look at the code coverage report, find something that doesn't have full coverage, and write/add to tests to help the coverage be more complete.

However, the actual steps to do that are a bit vague (the code coverage website is a bit hard to understand), and this process isn't documented in this project. (I actually heard about doing this in this medium article.)

Solution
Can we add a section in one of the contributing documents (I guess either on the website or maybe a new doc (that gets referenced in CONTRIBUTING.md) to list out the steps of how to either use the code coverage tool to find code that's untested, and how to help add tests (or add to current tests) to contribute?

I'm not sure if we should treat this in two parts (one part being documentation on how to use the code coverage tool, and another on how to use contribute by using it to find untested code), or to make just one document.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions