I've checked in a preliminary version of a new project called
'integration' under autobuilds. It is meant to eventually hold a bunch
of integration tests which can not be covered by unit tests. I know that
to some extent the petstore under there is for integration testing as
well, but that does not necessarilly try to test specific functionality.
I would ideally like to have full integration test converage somewhere
for all classes not covered by unit tests. Currently, the only test in
there right now is one for JbossNativeJdbcExtractor. Note that there is
still a separate ejbtest project which is meant for ejb code. I did not
add the test to the latter since I see the integrationtest project being
used also for containers like TomCat. So most code should go into
integration, and ejb specific code can go into ejbtest.
Neither 'integration' or 'ejbtest' are currently callable by the
autobuilds functionality. They are cactus based (which is fine, it's
actually more convenient than using httpunit), but for the former
project there is some extra setup of the db and a few other things that
needs to happen. I hope to spend some time in the relative near term to
make them usable from autobuilds.
Colin
|