Log Message: |
o active the new text file reports which capture any stack traces that
occur as well as stdout and std err
o there is a new parameter that is accepted so you can use a simplifed
regex from the command line
m2 surefire:test -D=test=FooTest
is implicitly **/FooTest.java and the directory scanner is used
so you can this to run a single test if you like or a set of tests:
m2 surefire:test -Dtest=*Foo*
is implicitly **/*Foo*.java
You can also specify a comma separated list if you wish:
m2 surefire:test -Dtest=*Foo*,*Bar*
whic is implicitly **/*Foo*.java,**/*Bar*.java
This just makes running a smaller set of tests easier while trying
to pin point problems.
|