go-gremlins / gremlins

A mutation testing tool for Go.
https://gremlins.dev
Apache License 2.0
198 stars 18 forks source link

[request] Is there a way to filter out folders from mutations/results? #227

Closed corentinmusard closed 9 months ago

corentinmusard commented 9 months ago

🚀 Feature Request

Is your feature request related to a problem? Please describe

gremlins is showing NOT COVERED for generated code. I don't want to make it mutate generated code and see that in the report.

Describe the solution you'd like

A --except flag that can be use like --except "./protogen/..."

Or automatically detect generated code, protogen code have this comment on every file:

// Code generated by protoc-gen-go. DO NOT EDIT.
rusinikita commented 9 months ago

Hi @corentinmusard ! Feature request already exists its #193

Please, check PR and provide feedback if it fits you #228

If you need this feature fast you can use my fork.

k3rn31 commented 9 months ago

This is a duplicate of #193, I'll close this and we continue tracking there.