maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Polet <guillaume.po...@agilebirds.com>
Subject Re: Error running Maven Tests with powermock and junit
Date Fri, 15 Jul 2011 13:54:54 GMT
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_simeoni@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-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message