Skip to content
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

Skip individual functions in code coverage? #333

Open
wolfram-agentis opened this issue Oct 22, 2019 · 3 comments
Open

Skip individual functions in code coverage? #333

wolfram-agentis opened this issue Oct 22, 2019 · 3 comments

Comments

@wolfram-agentis
Copy link

Is it possible to skip specific functions as part of code coverage?

@jails
Copy link
Contributor

jails commented Nov 10, 2019

It's possible to skip specific files but not a specific function. What is the motivation behind trying to ignore the code coverage for some functions ?

@wolfram-agentis
Copy link
Author

Mostly things like getters and setters.

@adamcameron
Copy link

adamcameron commented Mar 3, 2021

What is the motivation behind trying to ignore the code coverage for some functions

For me:

My current needs are catered for by being able to skip files (however I do not see anywhere in the docs how to do this? (*)), so I'm just adding this comment to answer the question as to motivation.

Cheers!

(*) presume you mean this: #321 (comment). Can't see it in the docs though. nor can Google.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants