[ https://jira.codehaus.org/browse/SUREFIRE-750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=271933#comment-271933 ]
Paul Gier edited comment on SUREFIRE-750 at 6/30/11 10:26 AM: -------------------------------------------------------------- You should run the surefire build and integration tests with only the central repo enabled. You may need to build against a clean local repo. I was able to run the integration tests on current trunk without any failures. was (Author: pgier): You should run the surefire build and integration tests with only the central repo enabled. You may need to build against a clean local repo. > Add custom name suffix for surefire-reports (xml and txt) > --------------------------------------------------------- > > Key: SUREFIRE-750 > URL: https://jira.codehaus.org/browse/SUREFIRE-750 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Failsafe Plugin, Maven Surefire Plugin, xml > generation > Reporter: Rostislav Svoboda > Priority: Critical > Attachments: reportNameSuffix.patch, reportNameSuffix-tests.patch > > > Hi. > I'd to add support in surefire for custom name suffix for tests in > surefire-reports. > Motivation 1): > I have more modules, some modules are sharing tests from another using > org.codehaus.mojo:build-helper-maven-plugin. > I'd like to have txt and xml files with some differentiator to determine in > which module tests were executed. > Motivation 2): > I have defined several executions where I use different parameters and > execute the same tests in each execution. > Again, I'd like to have txt and xml files with some differentiator. > Solution: > Introduce new configuration property reportNameSuffix. > Patch for this improvement is included. > Tested: > Yes, <reportNameSuffix>customText</reportNameSuffix> added into surefire > plugin configuration and received these files: > org.xyz.test.componentA.ComponentAUnitTest-customText-output.txt > org.xyz.test.componentA.ComponentAUnitTest-customText.txt > org.xyz.test.componentB.ComponentBUnitTest-customText-output.txt > org.xyz.test.componentB.ComponentBUnitTest-customText.txt > TEST-org.xyz.test.componentA.ComponentAUnitTest-customText.xml > TEST-org.xyz.test.componentB.ComponentBUnitTest-customText.xml > Tested without <reportNameSuffix> defined too, original file names and > content generated. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira