hcoles/pitest

Support stryker json output

开放

#592 创建于 2019年4月4日

 (8 条评论) (1 个反应) (0 位负责人)Java (371 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (1,849 个星标)
PR 合并指标
 (平均合并 17小时 18分钟) (30 天内合并 1 个 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).

贡献者指南