db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "DerbyJUnitTesting" by DanDebrunner
Date Thu, 31 Jan 2008 17:23:03 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by DanDebrunner:
http://wiki.apache.org/db-derby/DerbyJUnitTesting

------------------------------------------------------------------------------
  The top-level build.xml file in the trunk codeline contains two targets for running JUnit
tests.
  
  || '''Target''' || '''Action''' ||
+ || `junit-clean` || Remove all the `junitYYYYMMDD_hhss` output folders from previous test
runs ||
- || `junit-all` || Run all the JUnit tests. Runs the same set of tests as `suites.All` though
it is broken down into per-package `_Suite` runs (thus the results may be different in some
environments, especially when it comes to memory usage). May also run additional tests that
require special setup or need to run in their own JVM such as the tests for checking the auto-loading
of JDBC drivers ||
+ || `junit-all` || Run all the JUnit tests. Runs the same set of tests as `suites.All` though
it is broken down into per-package `_Suite` runs (thus the results may be different in some
environments, especially when it comes to memory usage). May also run additional tests that
require special setup or need to run in their own JVM such as the tests for checking the auto-loading
of JDBC drivers. The report output is the XML format for ant's junit task. ||
  || `junitreport` || Run `junit-all` and produce an HTML report in the output folder ||
+ ||  `junit-all-codeline-jars` || Run junit-all setting the classpath for the tests to be
based upon the jar files build by the `buildjars` target. Note in this case the CLASSPATH
environment variable is ignored. junit.jar should be in ant's lib folder. ||
  
  The tests are run using the CLASSPATH of the environment which needs to include the Derby
code you want to test and junit.jar.
  `JAVA_HOME` needs to be set to the JVM to be tested and `PATH` must be set up so that the
execution of `java` matches the virtual

Mime
View raw message