Content-Length: 219516 | pFad | http://github.com/tapjs/tapjs/issues/1050

C3 [FEATURE] Ability to exclude particular files from test coverage · Issue #1050 · tapjs/tapjs · GitHub
Skip to content

[FEATURE] Ability to exclude particular files from test coverage #1050

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
filmaj opened this issue Feb 21, 2025 · 0 comments
Open
2 tasks done

[FEATURE] Ability to exclude particular files from test coverage #1050

filmaj opened this issue Feb 21, 2025 · 0 comments
Labels
feature a thing you'd like to see

Comments

@filmaj
Copy link

filmaj commented Feb 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Have you read the CONTRIBUTING guide on posting issues, and CODE_OF_CONDUCT?

  • yes I read the things

Description

I see #604 was already filed, but it's a few years old and the suggested option to try (nyc-arg) gets rejected by tap.

My situation: I work on a project that has some codegen as part of its build step (protobuf JavaScript interface) and I don't want that file to be tracked as part of code coverage. I tried using exclude but that didn't work.

Example

{
  "exclude-coverage": ["src/pubsub/events.pb.js"]
}

Perhaps something that exactly follows the same rules for exclude for excluding files from being run as part of test execution, but instead applies to tracking code coverage.

@filmaj filmaj added the feature a thing you'd like to see label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a thing you'd like to see
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/tapjs/tapjs/issues/1050

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy