You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2008/03/12 20:54:16 UTC

[Db-derby Wiki] Update of "DerbyTopLevelJunitTests" by DanDebrunner

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/DerbyTopLevelJunitTests

------------------------------------------------------------------------------
  || `junit-system-mini` || Run a short version of any system tests that run under junit. Intended to be a quick check of Derby and the system test. (requires explicit setting of the classpath) ||
  || `junit-system-mini-codeline-jars` || Run `junit-system-mini` automatically setting the classpath in a codeline to be the compiled jar files ||
  || `junit-single` || Run a single test or suite that runs under junit. Set the system property derby.junit.testclass to the full classname of the test or suite you want to run. (requires explicit setting of the classpath) ||
+ || `junit-html` || Converts the set of XML junit files in the current run into an HTML report. Used along with other junit-* targets. The `index.html` is found in the `junit_timestamp` folder ||
+ || junitreport || Combination of junit-all and junit-html ||
+ 
+ Examples
+ {{{
+  # Run junit-all generating XML files after cleaning any old junit test runs
+  ant junit-clean junit-all
+ 
+  # Run the mini system tests from a set of codeline jar files and then produce an HTML report in addition to the XML files.
+  ant junit-clean junit-system-mini-codeline-jars junit-html
+ }}}
  
  = Functional and Unit Tests =
  The test classes that need to be run to cover all functional and unit tests for Derby.