That's a real shame actually.  I like to keep my unit tests pure - ie they are real unit tests and only test a single object - mocking all collaborators,
and i like to run integration tests separately.

given the tags are there - perhaps the m2 developers would like to implement it.  or is this something best left to configuration of the surefire plugin, as i do now.

Kind regards,
Dave Sag




 


Brett Porter <[EMAIL PROTECTED]> wrote on 10/10/2005 03:14:09 AM:

> This was a false starter in m1 that got left behind. It was intended
> for use by other plugins (eg cactus), but those plugins ended up
> introducing their own properties.
>
> - Brett
>
> On 10/10/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> > I have integration tests in src/tests/integration; I have
> > <integrationUnitTestSourceDirectory/> set accordingly in my project.xml.
> > I also have appropriate <includes/> under <integrationUnitTest/>. But I
> > can't figure out how to get those tests compiled and run...
> >
> > The documentation for the Maven Test plugin seems to imply that it will
> > compile the tests into target/iutest-classes, but this isn't happening.
> > Grepping through the plugin files, they don't reference
> > IntegrationUnitTestSourceDirectory or iutest.
> >
> > If I rename <integrationUnitTestSourceDirectory/> to
> > <unitTestSourceDirectory/> (and comment out the existing
> > <unitTestSourceDirectory/> element) the integration tests get compiled
> > and run, so I know the path is specified correctly.
> >
> > So, how do I get my integration tests built and run?
> >
> > Thanks,
> >
> > L.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to