You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Konstantin Boudnik (JIRA)" <ji...@apache.org> on 2009/05/08 20:34:45 UTC
[jira] Created: (ZOOKEEPER-394) Converting JUnit tests into TestNG
controlled environment
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
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.
[jira] Updated: (ZOOKEEPER-394) Converting JUnit tests into TestNG
controlled environment
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt updated ZOOKEEPER-394:
-----------------------------------
Fix Version/s: (was: 3.2.0)
3.3.0
not a blocker for 3.2, moving to 3.3
> 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.3.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.
[jira] Resolved: (ZOOKEEPER-394) Converting JUnit tests into TestNG
controlled environment
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt resolved ZOOKEEPER-394.
------------------------------------
Resolution: Invalid
we will be staying with junit for the forseeable future. seems that not having "fork always" type functionality (which junit ant task has) was a blocker for hadoop at large (core/mr/hdfs/etc...)
> 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.3.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.
[jira] Commented: (ZOOKEEPER-394) Converting JUnit tests into
TestNG controlled environment
Posted by "Konstantin Boudnik (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Assigned: (ZOOKEEPER-394) Converting JUnit tests into TestNG
controlled environment
Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-394:
--------------------------------------
Assignee: Konstantin Boudnik
> 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.