[ 
https://issues.apache.org/jira/browse/OOZIE-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820880#comment-16820880
 ] 

Andras Salamon commented on OOZIE-1122:
---------------------------------------

Thanks for the quick answer [~kmarton], I opened OOZIE-3475 and close this one.

> 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)

Reply via email to