Does your class containing the tests matches the default include patterns?
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#includes

<includes>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<include>**/*TestCase.java</include>
</includes>

Guillaume

Le 15/07/2011 15:51, Greg Akins a écrit :
On Fri, Jul 15, 2011 at 9:44 AM, Chiara<chiara_sime...@hotmail.it>  wrote:
Hi, yes i've put all test under this folder.
I don't know what to do seriously.. 'cause if i try to run test using run as 
junit tests it works..
So the only change you make.. after the JUnit tests run, is to add the
@RunWith(PowerMockRunner.class) attribute?

And then the tests are not recognized?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to