[jboss-dev-forums] [QA of JBoss Portal] - Unit test framework

julien@jboss.com do-not-reply at jboss.com
Sun Sep 30 18:46:37 EDT 2007


I have imported in the SVN the initial source tree for the unit test framework.

The status is that it is usable but missing:

- more meta tests (i.e the tests that test the framework)
- an integration with Ant and Maven
- an integration with JUnit XML reporter

But I decided to import it in order to be helped on the previous items (and possibly others).

The module is imported in the trunk test module https://svn.jboss.org/repos/portal/modules/test under the "unit" name and use the package org.jboss.unit

It uses Java 5, so in order to use it with the current build, one need to edit the file local.properties that the build creates and add


  | javac.source=1.5
  | javac.target=1.5
  | 

The test of the framework are based on java (since the framework does not test itself) and it can be triggered using the "test" target.

The unit module is not built yet by the full build because the rest of the module still uses 1.4. It could uses Java 5 but would produce Java 5 jars for their next snapshot version and we have not yet started to migrate the modules snapshot to Java 5.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090058#4090058

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090058



More information about the jboss-dev-forums mailing list