Maven 2 TestNG skipping some tests

2009-09-28 Thread Toby Hobson
I'm finding the TestNG plugin to be a bit flaky. For example I have a few tests defined in a couple of classes and I wanted to add a new test class so I created a new class: package com.pingmenow.services; import org.testng.annotations.Test; public class DummyTest { @Test public void

Re: Maven 2 TestNG skipping some tests

2009-09-28 Thread Ed Hillmann
On Tue, Sep 29, 2009 at 1:14 AM, Toby Hobson toby.hob...@googlemail.comwrote: I'm finding the TestNG plugin to be a bit flaky. For example I have a few tests defined in a couple of classes and I wanted to add a new test class so I created a new class: package com.pingmenow.services; import

Using maven and testng - collab workaround

2007-11-13 Thread Erik Drolshammer
Hi! I got maven to run with testng 5.5 by using plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId version2.4-collab-SNAPSHOT/version /plugin and dependency groupIdorg.testng/groupId

Re: Using maven and testng - collab workaround

2007-11-13 Thread Erik Drolshammer
I reposted my question in a new thread. Search for subject Testng with testng.xml config file. -- Regards Erik Drolshammer - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Using maven and testng

2007-04-03 Thread Wayne Fay
I've run into exactly the same problem... Did you ever get any resolution to this, Lee? Wayne On 11/22/06, Lee Bieber [EMAIL PROTECTED] wrote: I'm trying to get testng working with maven. I've configured my pom.xml per the documentation .. dependency

Maven and TestNG

2006-11-22 Thread Wim Deblauwe
Hi, what is the current status on Maven2 and TestNG? This blog entry[1] shows me a way to avoid surefire, but this does not feel right. The official TestNG documentation[2] talks about using surefire 2.8-SNAPSHOT, but when I declare this version, all I get from maven is this: [INFO]

Re: Maven and TestNG

2006-11-22 Thread Marco Mistroni
Hello, try with this dependencies dependency groupIdorg.testng/groupId artifactIdtestng/artifactId version5.1/version scopetest/scope classifierjdk15/classifier /dependency /dependencies build plugins plugin

Re: Maven and TestNG

2006-11-22 Thread Wim Deblauwe
Thanks, that runs my tests. It a pity that I have to add all my packages to my testng.xml file. Do you know a way to say: recursively from this one? This is what I got now: suite name=All tests verbose=1 test name=All tests packages package name=net.sourceforge.vigilog/

Re: Maven and TestNG

2006-11-22 Thread Marco Mistroni
Hello Wim, sorry havent' had a look at TestNG in a bit (i m doing it on my leasure time..which is almost null). I m sure there are parameters in TestNG with which you can configure dynamically the tests that run (for example, by making all tests part of the same group and specifying which test

Using maven and testng

2006-11-22 Thread Lee Bieber
I'm trying to get testng working with maven. I've configured my pom.xml per the documentation .. dependency groupIdorg.testng/groupId artifactIdtestng/artifactId version5.1/version scopetest

maven and testng

2006-11-07 Thread Roger Keays
For those people who have struggled using maven with testng, I've blogged about how to get it working without using surefire: http://www.ninthavenue.com.au/blog/maven_and_testng I hope this helps someone. -- Ninth Avenue Software p: +61 7 3137 1351

Re: How to test an ejb package with Maven and TestNG?

2006-06-28 Thread Tim Kettler
Hi, see comment inline... Naresh Bhatia schrieb: I have a maven project with packaging set to ejb. I would like to test this project outside an ejb container by simply calling POJO classes inside it. I have written a very simple test using TestNG: public class UserServiceTest {

RE: How to test an ejb package with Maven and TestNG?

2006-06-28 Thread Naresh Bhatia
List Subject: Re: How to test an ejb package with Maven and TestNG? Hi, see comment inline... Naresh Bhatia schrieb: I have a maven project with packaging set to ejb. I would like to test this project outside an ejb container by simply calling POJO classes inside it. I have written a very simple

How to test an ejb package with Maven and TestNG?

2006-06-27 Thread Naresh Bhatia
I have a maven project with packaging set to ejb. I would like to test this project outside an ejb container by simply calling POJO classes inside it. I have written a very simple test using TestNG: public class UserServiceTest { @Test public void testGetAllUsers() { ...