[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Running all tests at once

adrian@jboss.org do-not-reply at jboss.com
Tue Dec 19 09:47:46 EST 2006


Not really because the tests are defined in build-test.xml not the build.xml

If they were in build.xml you could use (from the main build project)
[ejort at warjort build]$ ./build.sh _buildmagic:modules:tests

Maybe you could add a tests target to each build.xml that invokes the correspondiing build-test.xml 

Of course Maven would let you do this.

I use a script (which is a bit out-of-date now :-)


  | #!/bin/sh
  | 
  | cd ../container
  | ./build.sh
  | ./build.sh -f build-test.xml tests
  | cd -
  | cd ../dependency
  | ./build.sh
  | ./build.sh -f build-test.xml tests
  | cd -
  | cd ../kernel
  | ./build.sh
  | ./build.sh -f build-test.xml tests
  | cd -
  | cd ../aop-mc-int
  | ./build.sh
  | ./build.sh -f build-test.xml tests
  | cd -
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995014#3995014

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995014



More information about the jboss-dev-forums mailing list