[
https://issues.apache.org/jira/browse/HADOOP-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12659096#action_12659096
]
Steve Loughran commented on HADOOP-4901:
----------------------------------------
Some more thoughts here:
-regardless of what framework gets used, the report XML needs to be redone.
This is something I've discussed in Ant before, and a <junit4> task would be an
opportunity to go forwards with a newer format. Even if still XML, it shouldnt
buffer everything in memory until the the end of the run just to add some
statistics as a attributes on the root node.
-we'd have to work with the maven2 and test ng teams, as well as the various CI
tools to see that it met their needs too. Or we could do a hadoop-specific one
that pushed results *and log data* straight into a DFS file.
> Upgrade to JUnit 4
> ------------------
>
> Key: HADOOP-4901
> URL: https://issues.apache.org/jira/browse/HADOOP-4901
> Project: Hadoop Core
> Issue Type: Improvement
> Components: test
> Reporter: Tom White
> Assignee: Tom White
>
> Amongst other things, JUnit 4 has better support for class-wide set up and
> tear down (via @BeforeClass and @AfterClass annotations), and more flexible
> assertions (http://junit.sourceforge.net/doc/ReleaseNotes4.4.html). It would
> be nice to be able to take advantage of these features in tests we write.
> JUnit 4 can run tests written for JUnit 3.8.1 without any changes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.