hcoles/pitest

Support stryker json output

Ouverte

#592 ouverte le 4 avr. 2019

 (8 commentaires) (1 réaction) (0 personne assignée)Java (371 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (1 849 étoiles)
Métriques de merge PR
 (Merge moyen 17h 18m) (1 PR mergée en 30 j)

Description

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).

Guide contributeur