On 5/2/06, Christian Cabanero <[EMAIL PROTECTED]> wrote:

In Maven2, is there a way to run a particular TestCase rather than all of
them when you run "mvn test"?

mvn test -Dtest=ClassName

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

test (Optional) - 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

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to