[
https://issues.apache.org/jira/browse/OOZIE-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820802#comment-16820802
]
Andras Salamon commented on OOZIE-1122:
---------------------------------------
I don't think this request is relevant anymore. It was opened more than 7 years
ago, junit improved a lot in the meantime. Oozie has approximately 500 test
classes and 3000 test cases, it's very unlikely that we switch to TestNG in the
near future. What do you think [~kmarton]?
> Move to TestNG from junit
> -------------------------
>
> Key: OOZIE-1122
> URL: https://issues.apache.org/jira/browse/OOZIE-1122
> Project: Oozie
> Issue Type: Improvement
> Reporter: Rohini Palaniswamy
> Priority: Major
>
> It would be good to move to TestNG to make good use of BeforeClass and
> AfterClass. Service initialization is done before every method and teardown
> after every mothod which is not necessary. Junit also has the BeforeClass and
> AfterClass but they need to be static making all the variables to be declared
> as static which is ugly and also doesn't gel with the current model of
> inheritance in the test classes. Will cut down on the time taken for unit
> tests by a lot.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)