Skip to content

JUnit XML output format for CI integration #104

Open

Description

@derFunk

Hi,

CI systems like Jenkins can publish JUnit XML results out of the box.
It would be great if we could have a exporter for that format.

For a JUnit XML format specification see here: https://github.com/windyroad/JUnit-Schema.

Example how php-cs-fixer exports to JUnit format: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/src/Report/JunitReporter.php

Activity

  1. derFunk commented on Feb 27, 2017

    @derFunk
    ContributorAuthor

    I started working on it here and it basically does its job already. https://github.com/derFunk/iniscan/blob/junit-xml-output-format/src/Psecio/Iniscan/Command/ScanCommand/Output/Junit.php

    The only reason why I don't want to create a PR yet already is that there seem to be some unresolved issues regarding PHP 7: #101, which should be resolved, otherwise JUnit will break the build because of false positives. ( @enygma ? ).

    image

  2. enygma commented on Mar 12, 2017

    @enygma
    Member

    Hi @derFunk, I've left a comment in #101 about trying to reproduce the issue. I'm having problems on my side doing it so it makes it harder to fix. This looks great and I'd love to get it in if you're comfortable making a PR for it to review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions