Skip to content

Run code coverage for a single file #23612

Description

@wnordmann

The directions for running code coverage do not detail how to run coverage for a single file. It would improve performance when writing tests with the goal of improving coverage to be able to test one file at a time.
https://github.com/nodejs/node/blob/master/doc/guides/contributing/pull-requests.md#test-coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    coverageIssues and PRs related to Node.js code coverage support.testIssues and PRs related to Node.js core tests and test infrastructure.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions