maven-surefire-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <>
Subject Re: Using both TestNG and JUnit in one project
Date Thu, 22 Nov 2007 01:08:20 GMT
On Nov 22, 2007 2:33 AM, Dan Fabulich <> wrote:
> Well, even if you can't check in right now, you should be able to see what
> I'm working on.
> Pull down code from
> If you do "mvn install" (you may want to have a clean local repo when you
> do this) it will run the surefire-integration-tests; they're marked to run
> but not fail the build if they fail, though I think I'll want to change
> that at some point soon.
> I've checked in a patch to Surefire-377 (which is the bug about TestNG +
> JUnit) to try to address the problem.  You'd run the
> "Surefire377TestNgAndJUnitTogetherTest" test in
> surefire-integration-tests.  That, however, just turns around and runs
> "mvn clean test" in
> surefire-integration-tests/src/test/resources/testng-junit-together.
> When you run that in revision 597258, you'll get one test to run: the
> TestNG one.  If you apply my patch from Surefire-377, you'll get two tests
> to run, but testng-results.xml will contain only the second (JUnit) test
> result.
> -Dan

Oke, I have updated my surefire trunk. Now, what it means to have a
clean local repo is a complete mistery to me :-). However, I will try
to look at the code and see what's the status compared with my
previous work.


.w( the_mindstorm )p.

View raw message