3 Replies Latest reply on May 6, 2005 11:10 AM by adrian.brock

    Regression tests

      Since the new build tests are currently broken:
      http://jira.jboss.com/jira/browse/JBBUILD-72

      I've created some buildmagic files (build-test.xml) in the container and kernel
      modules.

      To run the tests:

      [ejort@htimes2 container]$ ant -f build-test.xml module-jars tests
      Buildfile: build-test.xml
      
      _buildmagic:init:
      Trying to override old definition of task property
      
      _buildmagic:init:buildlog:
      
      configure:
      
      _default:task-init:
      
      init:
      
      module-jars:
      
      _buildmagic:init:
      
      init:
      
      tests:
       [junit] Running org.jboss.test.classinfo.introspection.test.IntrospectionTestCase
       [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.786 sec
       [junit] Running org.jboss.test.joinpoint.reflect.test.ReflectJoinpointTestCase
       [junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 1.602 sec
      
      BUILD SUCCESSFUL
      Total time: 11 seconds
      


      Of course the module-jars is optional once you have build the test.

      You can also use "one-test -Dtest=xxx" like in the testsuite