A non-stress target already exists and is called tests-unit. It does not
include any of the stress testing and runs in 5.5 minutes on a PIII 850MHz
single processor box:

testsuite 1729>./build.sh tests-unit
...
BUILD SUCCESSFUL

Total time: 5 minutes 23 seconds

testsuite 1731>./build.sh -projecthelp 
Searching for build.xml ...
Buildfile: /home/starksm/cvsroot/Main/jboss-all/testsuite/build.xml
Default target:

 main          Executes the default target (most).

Main targets:

 all           Builds everything.
 clean         Cleans up most generated files.
 clobber       Cleans up all generated files.
 compile       Compile all source files.
 docs          Builds all documentation.
 jars          Builds all jar files.
 main          Executes the default target (most).
 most          Builds almost everything.
 one-test      Execute a single test.
 release-all   Builds a distribution for each archive type.
 release-tar   Builds a TAR release distribution.
 release-tgz   Builds a TAR-GZIP release distribution.
 release-zip   Builds a ZIP release distribution.
 reports       Generates all reports.
 test          Execute a single test.
 tests         Execute all tests.
 tests-stress  Execute all stress tests.
 tests-unit    Execute all unit tests.

> But to make developers use the test suite it should
> also be simple, straightforward and _fast_ to run.
> Currently, on my 800MhZ Duron system, the test suite
> takes about 40 minutes to run. This is so long that
> it may scare some developers from running the suite.
> Most of the time it runs stress tests that take a
> long time.
> 
> Maybe it would be an idea to have another test target
> that only includes basic functionality tests, and
> that can run in a few minutes?
> Chances are higher that developers will run tests if
> it only takes a few minutes, and basic functionality
> testing is better than no testing at all.
> 



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to