I can help with that. Instead of making it mandatory when generating a monorepo, it would be that it could be easily integrated into existing projects through schematics.
This would be nice indeed.
I am thinking of adding a new flag to app and lib generation --mutation-test-runner
It could have noneas the default option and stryker-mutator as an option to invoke the schematic and setup everything needed.
What do guys think? I would have the time to tackle this.
Awesome, let's do it. @mehrad-rafigh
I will start working on this feature this weekend.
My plan is to generate the basic schematic for stryker then we can integrate this option to the libs and apps schematic.
@SebasG22 Sounds good! If I can help you in any ways, let me know :)
Hi @mehrad-rafigh @danieldanielecki, I made good progress these days on this feature and be able to implement stryker builder with partial support for jest and use it in an nx repo.
You can take a look here https://github.com/SebasG22/nx-mutation
To run the builder use: yarn ng run demo2:mutate.
Next steps:
tsconfig pathsstryker.config.jsstryker.config.jsHey folks,
I'm happy to announce that I was able to create the stryker schematics & builder that supports jest and karma runners. I will submit the PR to be part of nrwl/nx on this weekend. 馃殌
Note: You can take a look at NX Mutation Examples
Hey folks,
It's amazing to know that nx will support mutation testing soon...
https://github.com/nrwl/nx/pull/1925
@SebasG22 are you moving forward with the nx-stryker plugin as suggested in our your PR? interesting functionality for sure!
Hey @davidgaulin,
Sure. I'm working hard to move it as a plugin for angular and nx projects.
馃槃
@SebasG22 Thx for the hard work you already done
Do you make progress or maybe need help?
Maybe the new Plugin schematics can reduce some work - https://nx.dev/angular/guides/nx-plugin
@twittwer I just opened an issue that I couldn't fetch the package. Looks like @SebasG22 is about releasing it in the near future.
Hi, sorry about this.
This was mislabeled as stale. We are testing ways to mark _not reproducible_ issues as stale so that we can focus on actionable items but our initial experiment was too broad and unintentionally labeled this issue as stale.
Most helpful comment
Hey folks,
I'm happy to announce that I was able to create the
strykerschematics & builder that supportsjestandkarmarunners. I will submit the PR to be part ofnrwl/nxon this weekend. 馃殌Note: You can take a look at NX Mutation Examples