hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars George (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-3555) Switch to TestNG
Date Wed, 23 Feb 2011 06:08:38 GMT

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

Lars George commented on HBASE-3555:
------------------------------------

+1, they also have injection support, which can be used to specify data providers to create
test data based on the method name calling on the injection.

> 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

        

Mime
View raw message