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 "DerbyTopLevelJunitTests" by DanDebrunner
Date Wed, 12 Mar 2008 19:54:16 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/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.

Mime
View raw message