Open mcmxcdev opened 1 year ago
Would something like #3229 work for you? I had to dig, because stalebot closed it for us, but it's still very much on my mind.
Not 100% what we had in mind, but I think what you linked could work.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Summary
We use Mantine as our UI framework and it's common nowadays in frontend to use the
sx
prop: https://mantine.dev/styles/sx/Unfortunately, stryker-mutator modifies this prop and counts all of them as survived mutants, even though don't care about modified styling in our unit tests.
Now its possible to turn off rules that spam much like:
But that also turns it off for useful checks, unfortunately.
What we would need is a config option that allows us to define more fine-grained when to ignore certain objects lets say. Yes, its possible with a disable statement above the respective code, but that brings a lot of noise to the project and unnecessary LOC.
Test runner config
Stryker environment