[
https://issues.apache.org/jira/browse/OOZIE-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820852#comment-16820852
]
Julia Kinga Marton commented on OOZIE-1122:
-------------------------------------------
I agree with you, [~asalamon74]. I would rather switch to Junit4, but this
would mean a big refactor of XtestCase.
> 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)