Maven runs all test classes that match a pattern. The default is "*Test.java
"
http://maven.apache.org/plugins/maven-surefire-plugin/examples/inclusion-exclusion.html

2007/1/23, Lisa <[EMAIL PROTECTED]>:


I have a directory structure:
sql/src/test/java/com/presence/sql/bootstrap/LoadBootStrap.java

LoadBootStrap.java looks like this:

public class LoadBootStrap extends DBTestCase
{
   test cases / setup / teardown etc
}

When I run "mvn test"

nothing happens.

However if I put a .java file that extends TestCase, it's test cases will
run.  DBTestCase extends TestCase


The object hierarcy is:

Object -> Assert -> TestCase -> DatabaseTestCase -> DBTestCase ->
LoadBootStrap

any ideas would be greatly appreciated.  Just want test cases in
LoadBootStrap to be picked up when running "mvn install"
--
View this message in context:
http://www.nabble.com/How-to-run-Junit-%28DbUnit-tests%29-from-Maven---does-not-work-tf3066175s177.html#a8528212
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Reply via email to