continuum-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: JUnit vs. TestNG
Date Mon, 20 Apr 2009 00:59:35 GMT
Yeah, just toss them in src/test/java together, Surefire will sort it  
out if you aren't using a suite XML, and if you are they are easy  
enough to add in there.

I definitely prefer TestNG in the long run for the configurability of  
the tests using dependencies and groups, and so on.

- Brett

On 18/04/2009, at 7:13 AM, Wendy Smoak wrote:

> On Mon, Feb 16, 2009 at 10:24 AM, José Morales Martínez
> <jmorales@gmv.com> wrote:
>
>> I noticed that the test uses JUnit, version 3.8.1. As a suggestion,  
>> I propose the possibility of using TestNG [1]. In TestNG we can  
>> config groups, dependencies inter groups, order, timeOut, ... It  
>> also allows the use of annotations.
>> It's a bit harder to configure, but it has its advantages.
>> [1] http://testng.org
>
> Is it time to make a decision on this?  I've been applying patches on
> both sides, and I have a feeling the tests probably overlap in
> functionality by now.  Brett mentioned that it's possible to run JUnit
> tests with TestNG, maybe that would be a first step towards
> consolidation?
>
> -- 
> Wendy


Mime
View raw message