maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <joerg.schai...@gmx.de>
Subject Re: mvn test shall run all tests
Date Mon, 13 May 2013 22:12:09 GMT
Andreas Gudian wrote:

> You're right, what you would configure is in Ant-style notation. Here's
> the deault config:
> 
> <includes>
>  <include>**/*Test*.java</include>
>  <include>**/*Test.java</include>
>  <include>**/*TestCase.java</include>
> </includes>

IIRC, you *can* use regexp, i.e. such an expression should also work (not 
sure about the back slashes for the escaping though):

  <include>%regex[*.Test\\.java]</include>

Cheers,
Jörg


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


Mime
View raw message