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 2007/04/05 19:28:18 UTC

[Db-derby Wiki] Update of "DerbyJUnitTesting" by RichardHillegas

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:
http://wiki.apache.org/db-derby/DerbyJUnitTesting

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