[jbosstools-issues] [JBoss JIRA] (JBIDE-10982) Instead of generating a 1-test dummy file with Ant script, use Maven to generate empty TEXT-{classname}.xml files before running surefire
Mickael Istria (JIRA)
jira-events at lists.jboss.org
Tue Feb 21 12:52:36 EST 2012
[ https://issues.jboss.org/browse/JBIDE-10982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669664#comment-12669664 ]
Mickael Istria commented on JBIDE-10982:
----------------------------------------
An other (cleaner IMHO) approach would be to have our org.jboss.tools.tycho:tycho-surefire-plugin-with-crash-report Tycho plugin that would inherit from most of the normal tycho-surefire-plugin, except in test of crash of the test, make a new File("TEST-crashed.xml").createNewFile();
> Instead of generating a 1-test dummy file with Ant script, use Maven to generate empty TEXT-{classname}.xml files before running surefire
> -----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-10982
> URL: https://issues.jboss.org/browse/JBIDE-10982
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: Build/Releng, testing
> Affects Versions: 3.3.0.Beta1
> Reporter: Nick Boldt
> Assignee: Mickael Istria
> Fix For: 3.3.0.CR1
>
>
> Instead of generating a 1-test dummy file with Ant script [1], use Maven to generate *empty* TEXT-{classname}.xml files before running surefire.
> That way should a test fail it won't be see as red, but as yellow (due to unparseable TEST*.xml file).
> [1] http://anonsvn.jboss.org/repos/jbosstools/trunk/build/results/collect-test-results.xml
> See also JBIDE-10964
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list