-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(report): report test states (#2868)
Add test reporting to both the `clear-text` and `html` reporters (it was already supported by the JSON reporter). <table> <tr> <td> <img src="https://user-images.githubusercontent.com/1828233/117065346-b1029b80-ad27-11eb-8d96-86c09bbd1194.png"> </td> <td> <img src="https://user-images.githubusercontent.com/1828233/117065413-c677c580-ad27-11eb-8998-cc416aa3ffea.png"> </td> </table> ![image](https://user-images.githubusercontent.com/1828233/117066423-00959700-ad29-11eb-9d81-8beb3d0e5f2d.png) There are a couple of things to keep in mind: * Stryker will only be able to produce the [`Covering` test state](https://stryker-mutator.io/docs/mutation-testing-elements/mutant-states-and-metrics/#test-states-and-metrics) with `"coverageAnalysis": "perTest"` ![image](https://user-images.githubusercontent.com/1828233/117104495-85f66700-ad7c-11eb-9c50-250f503efd6b.png) * Currently, only the `@stryker-mutator/jest-runner` supports marking the test files for each test. This means that all other test runners will simply produce a big list of tests: ![image](https://user-images.githubusercontent.com/1828233/117104637-ca820280-ad7c-11eb-97fb-ce9dcc700df0.png)
- Loading branch information
Showing
10 changed files
with
348 additions
and
161 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.