Hi Julien,

first of all thanks for your answer....

> mvn test is for unit testing. Should your tests require a running server
> it is no more a unit test but integration/acceptance test. 
That depends on the point of view...but you are right...

> There is a
> dedicated Maven phase for this concern: integration-test
That was the hint which took me on the right track...

> 
> You can setup your server during the pre-integration-test phase and
> cleanup during post-integration-test.

Now i have created a pom which will build my war, download Tomcat, start
Tomcat, deploy my war to Tomcat....(this works in relationship with
cargo plugin)...

Now i have read a bit around and often there has pointed out that an
integration test should have it's own module....is this correct?

May be you know a little bit about it...


Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to