I already wrote to ask about feedback how to organize a project (thanks for
the responses so far), now another question:
Let's assume we have a project like this:
myproject ->
EAR-module1
EAR-module2
plugins
plugin-module1
plugin-module2
doc
tools
etc
And let's say the main project generates RPM:s which actually include a full
bundled J2EE server (JBoss)
Now, what if I would like to have integration tests that do:
1 - Install RPM:s
2 - Start J2EE server (and hence the application)
3 - Configure the application using a reference configuration (part of
the integration test files)
4 - Run reference tests (already exists a test tool for this with
beanshell test scripts)
5 - After all finished, stop system and un-install RPM:s
How would we do this?
Would the integration test simply be JUnit tests under
myproject/src/test/java etc ?
In that case I guess there would have to be one test ("THEtest") executing
an external script/tool?
//Kent