You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vladimir Miguro (JIRA)" <ji...@codehaus.org> on 2012/01/27 11:09:03 UTC

[jira] (SUREFIRE-821) JUnit report layout

Vladimir Miguro created SUREFIRE-821:
----------------------------------------

             Summary: JUnit report layout
                 Key: SUREFIRE-821
                 URL: https://jira.codehaus.org/browse/SUREFIRE-821
             Project: Maven Surefire
          Issue Type: Improvement
            Reporter: Vladimir Miguro


I'm trying to figure out how to get [cucumber-jvm|https://github.com/cucumber/cucumber-jvm] to produce separate xml report for each feature file. If I'm running it with maven-surefire-plugin I'm getting a single xml, but I wan't a separate file for each.

For each feature file a descendant of [org.junit.runners.ParentRunner|http://junit.sourceforge.net/javadoc/org/junit/runners/ParentRunner.html] is being created. You can browse this code [here|https://github.com/cucumber/cucumber-jvm/tree/master/junit/src/main/java/cucumber/junit].

Is it possible somehow to tell surefire to create a separate xml for each runner or to create the following xml:
{code:xml|borderStyle=solid}
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
    <testsuite name="Datacenters">
        <testcase classname="Datacenters"/>
        <testcase classname="Datacenters"/>
    </testsuite>
    <testsuite name="Network">
        <testcase classname="Network"/>
    </testsuite>
</testsuites> 
{code}

More info here: [#171|https://github.com/cucumber/cucumber-jvm/issues/171]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira