Re: Let's Switch to TestNG

2011-02-23 Thread Gary Helmling
See http://jira.codehaus.org/browse/SUREFIRE-656 for the missing surefire support for JUnit Categories. TestNG can run existing JUnit tests, though I don't know if the surefire TestNG support can do this transparently or if it requires some additional config (in testng.xml)? Other nice looking fe

Re: Let's Switch to TestNG

2011-02-23 Thread Ryan Rawson
Junit supports test groups, but as far as I can tell no tools support it. surefire doesn't support it. to me the big win is the ease of switching (i did some projects),and the better attitude towards testing than junit. On Wed, Feb 23, 2011 at 10:51 AM, Ted Dunning wrote: > One nice feature is

Re: Let's Switch to TestNG

2011-02-23 Thread Ted Dunning
One nice feature is the ability to mark tests as skipped while still reporting the skipped tests. On Wed, Feb 23, 2011 at 10:45 AM, Ryan Rawson wrote: > I filed HBASE-3555, and I listed the following reasons; > > - test groups allow us to separate slow/fast tests from each other > - surefire sup

Re: Let's Switch to TestNG

2011-02-23 Thread Todd Lipcon
Is there an API compat layer? Doing a wholesale switchover isn't *that* hard, but it's certainly a pain for people. Also painful since many people go back and forth between HBase and other code bases where JUnit is the standard. Not that we can't learn two test frameworks, but there's some value in

Let's Switch to TestNG

2011-02-23 Thread Ryan Rawson
I filed HBASE-3555, and I listed the following reasons; - 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