Re: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-08-02 Thread Kristian Rosenvold
The ability to run multiple providers within a single execution is a fairly new feature, and I'm not surprised that works as expected. There are hundreds of blog posts out there that explain how to run testng/junit using multiple executions of surefire, which was the best available method at the t

RE: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-08-02 Thread Martin Gainty
Tue, 2 Aug 2011 10:57:16 -0600 > Subject: Re: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests > (with Surefire plugin configuration) > From: lar...@gmail.com > To: dev@maven.apache.org > > On Mon, Aug 1, 2011 at 9:56 AM, Larry Shatzer, Jr. wrote: > > I want to

Re: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-08-02 Thread Larry Shatzer, Jr.
One last update. If I remove the sections that tell Surefire to run both TestNG and Junit, and put dependencies on the Surefire Plugin like so: org.apache.maven.surefire surefire-junit4 ${surefire.version} o

Re: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-08-02 Thread Larry Shatzer, Jr.
On Mon, Aug 1, 2011 at 9:56 AM, Larry Shatzer, Jr. wrote: > I want to run with both JUnit and TestNG. By removing JUnit (and the > tests that JUnit run), it ran just fine, as do the inverse, just JUnit > and no TestNG. It is the combination of both of them. > > To help, instead of having gists, I

Re: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-08-01 Thread Larry Shatzer, Jr.
On Thu, Jul 28, 2011 at 6:04 AM, Martin Gainty wrote: > > Larry- > > try loading both dependencies in your local repository and running offline > with mvn -o (at least your dependencies will be found) > > did you check cobertura for errors? > > mvn -e -X cobertura:cobertura -Dquiet=true I did no

RE: Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-07-28 Thread Martin Gainty
n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Wed, 27 Jul 2011 19:32:43 -0600 > Subject: Maven 2/3 and Cobetura plu

Maven 2/3 and Cobetura plugin with both TestNG and JUnit tests (with Surefire plugin configuration)

2011-07-27 Thread Larry Shatzer, Jr.
I did send this to the users list, but got no response in over a week. I know dev lists are not a magical escalation path, but this might be a better venue for this email. I have an example project at https://gist.github.com/1090223 This project has both a JUnit test and a TestNG test. Following