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 RichardHillegas
Date Thu, 05 Apr 2007 17:28:18 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 RichardHillegas:

  to run tests directly using JUnit test runners, which is the eventual goal. Most of the
facilities provided by the old harness
  now exist in the JUnit utility classes in the `org.apache.derbyTesting.junit` package.
+ === Running the XML Tests ===
+ The XML tests require a more advanced version of Xalan than the default version bundled
with JDK 1.4. The XML tests silently exit if the required environment is not found.
+ To run the XML tests under JDK 1.4, you must do the following:
+  * Download the latest version of Xalan (2.7.0 as of this writing)
+  * Copy all of the downloaded jars into the jre/lib/endorsed directory of your JDK 1.4 installation.
Those jar files are: serializer.jar, xalan.jar, xercesImpl.jar, xml-apis.jar, and xsltc.jar.
+ That's it! Now the XML tests should run for you under JDK 1.4.
+ To run the XML tests under a higher version of the JDK, you must do the following:
+  * Download the latest version of Xalan as described above.
+  * Wire the downloaded jar files into your CLASSPATH.
  == Switching the Derby harness over to JUnit ==
  An ultimate goal would be for all Derby tests to be JUnit tests and all existing logic in
the Derby test harness is replaced

View raw message