I am implementing a multiple modules maven project in eclipse, with a simple structure like:
Module 1 - JPA - a jar file containing the model classes
Module 2 - EJB - a jar file containing services beans
Module 3 - WEB - a war file containing web resources and the others jar modules
And I am trying to use Arquillian to test the "services" in EJB module and some "functionalities" in WEB modules. What do you suggests? Create a separate TEST module or create the tests inside each module?
I'd prefer putting tests into each of the modules. In your EJB module you can test the service beans and it WEB you can test integration including the UI, for example.