[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Testuite added



Hi,

The xmlBlaster test suite
=========================
   xmlBlaster/testsuite/org/xmlBlaster

   The xmlBlaster test suite is based on the
   JUNIT 1.0 testsuite from Kent Beck and Erich Gamma.

   see http://members.pingnet.ch/gamma/junit.htm



Start the test suite:
---------------------

   Simply type:

      make test



Start the test suite manually:
------------------------------

   Start xmlBlaster server:

      jaco org.xmlBlaster.Main

   Start the test suite with GUI support:

      jaco -Djava.compiler= test.ui.TestRunner
testsuite.org.xmlBlaster.TestAll

   For command line output invoke:

      jaco -Djava.compiler= test.textui.TestRunner
testsuite.org.xmlBlaster.TestAll





Note that Junit is extended by some methods in TestCase.java
------------------------------------------------------------

  3 methods assertNotEquals(...) are added
  the modified test.jar is distributed in $XMLBLASTER_HOME/lib/test.jar



This is how junit is build new:
-------------------------------

   export JUNIT_HOME=/opt/junit
   export CLASSPATH=${CLASSPATH}:${JUNIT_HOME}/test.jar:${JUNIT_HOME}

   cd $JUNIT_HOME/test/framework/
      jikes *.java

   cd $JUNIT_HOME
      jar uvf test.jar test/framework/*.class

   Add the test.jar file to the xmlBlaster/lib directory



-- 
Marcel Ruff
ruff at swand.lake.de
http://www.lake.de/home/lake/swand/