[
https://issues.apache.org/jira/browse/HADOOP-4901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12715523#action_12715523
]
Steve Loughran commented on HADOOP-4901:
----------------------------------------
-you can run junit4 under <junit>, but the reporting doesn't improve; you don't
get a log of skipped tests, for example. One stevel has been nominated to fix
this, but I'd need help with the XSL transforms. Or somehow get rid of that
phase altogether.
-for any improved Ant tasks, I'd expect <antunit> to do the testing, it
generates the same xml output as <junit>
> 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: Alex Loddengaard
>
> 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.