maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: mvn test shall run all tests
Date Mon, 13 May 2013 16:10:30 GMT
Be sure you know regex syntax before interpreting the regexes I provided


On 13 May 2013 17:10, Stephen Connolly <stephen.alan.connolly@gmail.com>wrote:

> Surefire only runs the tests from classes that follow Surefire's naming
> convention, i.e. file must match one of the following regexs
>
> Test.*
> .*Test
> .*TestCase
>
>
> On 13 May 2013 17:05, Sven Bauhan <sven.bauhan@ast.dfs.de> wrote:
>
>> Hi,
>>
>> I am new here with a question I could not a solution yet.
>>
>> I have about 6 test classes to run some JUnit tests. When I call "mvn
>> test" only the test of one class is executed.
>> On the command line I can instruct maven to all tests by "mvn -Dtest='.*'
>> test". But I don't know how I can create a pom that this option is used by
>> default.
>>
>> Can someone give me an example how to configure the test execution?
>>
>> Thanks, Sven
>>
>>
>> ------------------------------**------------------------------**---------
>> To unsubscribe, e-mail: users-unsubscribe@maven.**apache.org<users-unsubscribe@maven.apache.org>
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message