hcoles/pitest

Support stryker json output

Offen

#592 geöffnet am 04.04.2019

 (8 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Java (371 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (1.849 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17h 18m) (1 gemergte PR in 30 T)

Beschreibung

The stryker team have put together a language agnostic format for displaying mutation results.

Some changes might be required to the format, but It would be good to support this with a view to eventually replacing the aging existing report output.

https://github.com/stryker-mutator/mutation-testing-elements/issues/18

This ought to be relatively straightforward. One possible issue is that pitest (I think, its been a long time since I looked at the reports) currently streams it's output to disk on a per class basis, overwriting the previously generated file as new results come in.

It looks as if stryker requires a single file for all mutants - pitest would need to track how many mutants there are for each file (so classes, inner classes, lambdas etc) and only append to the json when results of them all have been retrieved. (it possible this has already been implemented).

Contributor Guide