[ https://issues.apache.org/jira/browse/ZOOKEEPER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707722#action_12707722 ]
Konstantin Boudnik commented on ZOOKEEPER-394: ---------------------------------------------- Here's few advantages of TestNG over JUnit: - tests parametrization - parallel execution of tests - dynamic tests grouping and lists combinations - TestCase inheritance isn't needed, e.g. more flexibility for tests developers - elaborate listeners APIs - data providers API is available for even more complex data and parameters preparation for test cases > Converting JUnit tests into TestNG controlled environment > --------------------------------------------------------- > > Key: ZOOKEEPER-394 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-394 > Project: Zookeeper > Issue Type: Test > Components: tests > Affects Versions: 3.1.1 > Reporter: Konstantin Boudnik > Assignee: Konstantin Boudnik > Fix For: 3.2.0 > > > TestNG is a powerful test harness, which provides a lot of useful features > like parallel test execution, test parametrization, and such. > ZooKeeper uses JUnit (v.4.4) environment instead which certainly should help > to ease the conversion > I'd suggest to convert ZooKeeper's Junit based test infrastructure into > TestNG controller environment, which will allow to achieve higher level of > test execution control in the long run. > The same conversion has been already performed for Avro project (see > https://issues.apache.org/jira/browse/AVRO-26) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.