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 features are the ability to re-run just failed tests, parameterized tests with DataProviders, dependency injection support, nice listener/reporter API. I'm all for testing out a switch. On Wed, Feb 23, 2011 at 10:59 AM, Ryan Rawson <ryano...@gmail.com> wrote: > 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 <tdunn...@maprtech.com> > wrote: > > 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 <ryano...@gmail.com> > wrote: > >> > >> 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 VERY similar, > >> making for the transition easy. > >> - they have assertEquals(byte[],byte[]) > >> > >> What do other people think? > > > > >