How to use ignore-methods #1478
-
I use Stryker to test my project. And I want to exclude some "auto-generated" methods like ToString and GetHashCode. The command to run Stryker looks like: Expected behavior Desktop (please complete the following information):
|
Beta Was this translation helpful? Give feedback.
Answered by
rouke-broersma
Mar 19, 2021
Replies: 1 comment 2 replies
-
Hi @kreghek The ignore methods option only ignores methods calls, not method bodies. For method bodies you'll want to use the ignore code coverage attribute. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
rouke-broersma
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kreghek
The ignore methods option only ignores methods calls, not method bodies. For method bodies you'll want to use the ignore code coverage attribute.