I've built Jboss 4.0.3 and it's testsuite.
> I read JBoss Development Process Guide 2004 version, it's contents are
> different for 4.0.3 Jboss src.
> I'm seeking Jboss functional testing suite.
> I have two more question, what are the differences between tests unter
> 'testsuite' folder and under $COMPONENT/src/main/org/jboss/test
> For example, security/src/main/org/jboss has several tests,
> testsuite/src/main/org/jboss/test/security/test also has some. Some of
> them are different while some are exactly same.
> And is it possible to split jboss testsuite from certain src code? I
> mean, for example, to copy Jboss 4.0.3 testsuite,and maybe Jboss
> source code, to Jboss 4.0.1 dir, then run testsuite. I guess the
> answer is no, but is is possible? maybe modify build.xml make it work.
By and large the tests under the testsuite module require running jboss instances, whereas those under a $MODULE do not.
It would not be possible to do as you suggest without quite a bit of work. Obviously, new tests were added to 4.0.3 which test libraries and functionality not present in 4.0.1.