hcoles/pitest

Support stryker json output

オープン

#592 opened on 2019/04/04

 (8 件のコメント) (1 件のリアクション) (0 人の担当者)Java (371 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (1,849 個のスター)
PR merge metrics
 (平均マージ 17h 18m) (30d で 1 merged PR)

説明

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

コントリビューターガイド