Hi,

I have just started using Maven2, and I think that I am missing something fundamental. I am trying to create a build that:

1) Runs some tests as unit tests during the test phase;
2) Runs some other tests as integration tests during the integration- test phase;
3) Produces two surefire reports on the site

I have tried a number of different approaches, and all of them have had something wrong. I have tried using the <executions> to bind the unit and integration tests to different phases and goals, but there also seems to be some default behaviour invoked which executes all my tests, without reference to the <executions>, when the surefire:test target in invoked as a dependency. I would like to see two test runs, but I always end up seeing more than that.

And when I run the site goal, the unit tests are executed but the integration tests are not.

I'm working with a simple project with just dummy code and tests in it, so the problem is unlikely to be the complexity of my project.

Can anyone point me to an example that does something like that I'm after?

Regards,
Steve Hayes

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

Reply via email to