Open ancarda opened 3 years ago
Hello @ancarda
I don't use GitLab personally, but from the first look - sounds like a good idea.
Would you mind creating a PR? It shouldn't be hard to implement. JSON logger can be used as an example of implementation: https://github.com/infection/infection/pull/1278/files
willing to work on this.
Is your feature request related to a problem? Please describe. I would like to be able to integrate Infection into GitLab the same way I am able to integrate PHP Code Sniffer and PHPUnit. The latter two tools are able to output reports in JUnit format, which GitLab recognizes and displays inside a Merge Request. This makes it easier for people to see where defects are.
Describe the solution you'd like A format option, such as JUnit, that I can use with GitLab. For instance, I would like to be able to do this in my
infection.json
:Describe alternatives you've considered Writing a tool that can convert Infection's JSON format to JUnit, if that's possible?