2 Replies Latest reply on Feb 22, 2005 10:01 PM by dededong

    how to run the testsuite in the jboss

    dededong

      i attempt to run the testsuite in jboss4.0.1 using the 'build.sh'
      however i always confront with errors as following:


      [root@localhost testsuite]# ./build.sh tests
      Searching for build.xml ...
      Buildfile: /mnt/d/project/jboss_source/jboss-4.0.1-src.tar/jboss-4.
      0.1-src/testsuite/build.xml
      Overriding previous definition of reference to xdoclet.task.classpa
      th

      maybejars:
      Overriding previous definition of reference to xdoclet.task.classpath

      init:

      init-code-generation:

      jbossnet-wsdl2java:
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java

      BUILD FAILED
      /mnt/d/project/jboss_source/jboss-4.0.1-src.tar/jboss-4.0.1-src/testsuite/build.xml:542: The following error occurred while executing this line:
      /mnt/d/project/jboss_source/jboss-4.0.1-src.tar/jboss-4.0.1-src/testsuite/imports/code-generation.xml:783: Java returned: 1

      Total time: 7 seconds


      [root@localhost testsuite]# ./build.sh -Dtest=bank one-test

      Searching for build.xml ...
      Buildfile: /mnt/d/project/jboss_source/jboss-4.0.1-src.tar/jboss-4.0.1-src/testsuite/build.xml
      Overriding previous definition of reference to xdoclet.task.classpath

      one-test:
      [junit] Running bank
      [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
      [junit] Test bank FAILED

      BUILD SUCCESSFUL
      Total time: 5 seconds


      if need to configure junit ?and how to configure it



      best regards


      dededong