[
https://issues.apache.org/jira/browse/HBASE-3555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998206#comment-12998206
]
Ophir Cohen commented on HBASE-3555:
------------------------------------
(y)
I'm working with TestNG for more than 4 years and to my humble opinion its much
better than JUnit.
My favourite features (and the main reasons for me to work with TestNG):
1. Data providers - decoupling data from logic is always good idea, but in here
its great: you write one test and run it few times with different data each
time or, alternatively, you run few test with the same data.
2. Groups - simple way to groups test and, as Ryan mention, to make the slow
test run only in the nightly build etc...
PS
No migration need, the TestNG configuration knows to take JUnit test and run
them.
> Switch to TestNG
> ----------------
>
> Key: HBASE-3555
> URL: https://issues.apache.org/jira/browse/HBASE-3555
> Project: HBase
> Issue Type: Improvement
> Reporter: ryan rawson
>
> I have been messing with TestNG and I think we should switch to it. It is
> very similar to junit 4 with annotations, but it supports several features
> which would allow our build to become slightly more sane:
> - test groups allow us to separate slow/fast tests from each other
> - surefire support for running specific groups would allow 'check in tests'
> vs 'hudson/integration tests' (ie fast/slow)
> - it supports all the features of junit 4, plus it is VERY similar, making
> for the transition easy.
> - they have assertEquals(byte[],byte[]) (!)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira