We gave up and created our own maven-testng-plugin last week.
We were able to make Maven2/Surefire 2.2 work (using the testng.xml
option), but with major limitations:
1. The latest available version of testng for maven is 5.1
2. Surefire plugin does not provide most of the command line/ant
options of TestNG (like listeners for example)
3. Surefire reports are limited (compared to the TestNG reports)
4. Once you use Surefire2.2/TestNG5.1 with testng.xml, you can't
control the include/exclude options from the build level
We still have some issues with our in-house plugin:
- Integration with JUnit (we have a mixed test environment) is not
working yet
- Stack trace printed in a single line
- If using the testng.xml, the test cycle runs twice
- It is only for JDK1.5 (just because that is the only version we
need)
But considering the cons and pros, we just had no other option.
After we will have our plugin running for couple of weeks and stable
enough, I plan to upload it to one of the available open source
servers.
Erez.
On Mar 2, 4:20 am, "Brett Porter" <
brett.por...@...> wrote:
> The answer is 'sort of'. TestNG works, but there are several limitations/bugs.
>
> - Brett
>
> On 02/03/07, Mark Derricutt <
m...@...> wrote:
>
> > AFAIK not yet - There's work in progress to get the current 5.5 version
> > working with surefire which I understand will be a 2.4 release shortly after
> > this 2.3 release - at least that's my understanding.
>
> > Mark
>
> > On 3/2/07, Robert Hedin <
robert.he...@...> wrote:
> > > Sorry to jump in here- but does that imply that the current version of
> > TestNG (i.e. 5.5) with the current version of Maven (i.e. 2.0.5) plus the
> > current version of maven-surefire (i.e. surefire v2.3) is a working combo?
>
> --
> Apache Maven -
http://maven.apache.org> "Better Builds with Maven" book -
http://library.mergere.com/--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "testng-users" group.
To post to this group, send email to
testng-users@...
To unsubscribe from this group, send email to
testng-users-unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/testng-users?hl=en-~----------~----~----~----~------~----~------~--~---