stryker-js icon indicating copy to clipboard operation
stryker-js copied to clipboard

Add support for jest projects

Open thirionlogan opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. I have to stryker run for each separate project in my mono-repository. This generates a separate report for each project as well.

Describe the solution you'd like I would like to be able to define separate config files for different projects , as Jest's projects feature. I would like to have the stats of all of the projects in one report.

thirionlogan avatar Jan 19 '22 16:01 thirionlogan

Thanks for opening this issue. We're thinking of ways to improve, but for now I've added a section to stryker-mutator/mutation-testing-elements. It explains how to merge multiple report JSON files together:

https://github.com/stryker-mutator/mutation-testing-elements/blob/master/packages/metrics/README.md#use-case-merging-multiple-json-reports

The idea is that you run StrykerJS multiple times (per module) and then use that script to merge the reports together. Please let me know if you need more help with this.

nicojs avatar Jan 28 '22 10:01 nicojs

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.

stale[bot] avatar Feb 02 '23 03:02 stale[bot]