Re: Integration testing and WAR dependencies

2011-05-26 Thread Alex Lopez
Thanks Wayne, really useful explanations. I already had googled a bit about this but, as always, one cannot expect to find good examples or practices out there and I have a high respect for this list opinions, specially about "the maven way" which I see now again and again ends up always with l

Re: Integration testing and WAR dependencies

2011-05-26 Thread Wayne Fay
> The thing is, not even the classes in the WAR show up in the test module. > Are WAR-type modules never supossed to be added as dependencies? I read Try packaging a utility class file in a War, and then run it from "java -cp blah.war YourClass." War files are not understood by the JVM, only Jar f

Integration testing and WAR dependencies

2011-05-26 Thread Alex Lopez
Hi folks, using 3.0.3. I'm in the process of creating a test module for my multi-module web project, to perform integration tests. I have a fairly standard setup, a WAR-type module depending on several other modules. I have some classes I want to test residing on the WAR and some in other m