You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Matthias Wessendorf <ma...@apache.org> on 2006/06/13 19:50:07 UTC

[surefire] single test case

hey,

mvn -Dtest=org.bla.TestCaseClass test seams not to work for me.

Am I missing something ?

thx,
Matthias

-- 
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

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


Re: [surefire] single test case

Posted by Wendy Smoak <ws...@gmail.com>.
On 6/13/06, Matthias Wessendorf <ma...@apache.org> wrote:

> mvn -Dtest=org.bla.TestCaseClass test seams not to work for me.
>
> Am I missing something ?

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

test - Specify this parameter if you want to use the test pattern
matching notation, Ant pattern matching, to select tests to run. The
Ant pattern will be used to create an include pattern formatted like
**/${test}.java When used, the includes and excludes patterns
parameters are ignored

So use just the class name:  -Dtest=TestCaseClass .

-- 
Wendy

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