Hi Kent,
I had the same problem until I change my pom.xml and had the version
number to the surefire-plugin.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.8-SNAPSHOT</version>
</plugin>
I hope it helps
Best regards
Eric
Le 15 déc. 06 à 11:27, Kent Tong a écrit :
Hi,
This is driving me nuts. I've created some TestNG tests in tapestry-
core but
they are simply not run by maven ("mvn test"). For example, I have the
the following file in
src/test/java/org/apache/tapestry/integration/pagelevel/FooTest.java
which is compiled into
target/test-classes/org/apache/tapestry/integration/pagelevel/
FooTest.class,
but it is never picked up the surefire. The file content is shown
below.
Any idea? Thanks!
package org.apache.tapestry.integration.pagelevel;
import org.testng.Assert;
import org.testng.annotations.Test;
public class FooTest extends Assert
{
@Test
public void test1()
{
assertTrue(true);
}
}
--
Author of a book for learning Tapestry (http://www.agileskills2.org/
EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Eric BIANCHI
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]