Closed rusinikita closed 9 months ago
Hello and thanks for the PR. We'll do a review ASAP. In the mean time can you pleas check the failing CI checks?
Hi! Yes, of course. I just want to get approve of solution design. Is it good for you?
Fixed. But I need advice about engine.New has 5 arguments (exceeds 4 allowed)
codeclimate issue.
struct
@k3rn31 Hi! I'm thinking about adding this to my work projects.
How much time will a review take?
If it's not long I'll wait for a merge.
Hi! we're doing the review today, it looks promising (except for one Codeclimate linting error). I believe I'll merge soon on develop, but I'm not sure when we'll make a new release. This is a good change we'll make an extra release earlier to let this feature available right away.
Ok, thanks!
It looks promising (except for one Codeclimate linting error)
About that. I want be in sync with your vision and wanna know a way that you prefer:
I need advice about engine.New has 5 arguments (exceeds 4 allowed) codeclimate issue.
- I can pass Diff with Option
- I can create params struct
- Or something else
I think the struct param is better, since we don't use it as a library and the option doesn't make sense to me.
I combined a coverage and diff into CodeData. So it can be extended in future for solving https://github.com/go-gremlins/gremlins/issues/167
Let me know if you want to rename it or squash/rename some commits.
Attention: 17 lines
in your changes are missing coverage. Please review.
Comparison is base (
b62af32
) 88.57% compared to head (e8cedb3
) 88.02%. Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
cmd/unleash.go | 9.09% | 10 Missing :warning: |
internal/engine/engine.go | 70.00% | 2 Missing and 1 partial :warning: |
internal/diff/parse.go | 90.00% | 2 Missing :warning: |
internal/mutator/mutator.go | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Proposed changes
Running mutations only for changes. A new flag
diff
runsgit diff
with reference and skip mutants outside of changes.Look at docs change for details.
Types of changes
Checklist
make all
)Further comments