You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephen Connolly <st...@gmail.com> on 2009/07/05 00:39:49 UTC
Re: excluding inner classes
It is better to ask questions on the users list as that way the answers are
available for everyone
2009/7/3 Jeff Bowman <je...@gmail.com>
> Is there a way to exclude innerclasses from failsafe/surefire? For my
> integration tests, I'm getting a lot of failures on helper classes which
> I've coded as inner classes in the integration tests (like RowMappers, etc).
>
> Thanks,
> Jeff
> --
> Amateurs work until they get it right...
> ... Professionals work until they can't get it wrong.
>
Re: excluding inner classes
Posted by Stephen Connolly <st...@gmail.com>.
I think that Jeff has named his tests *IntegrationTest.java
and he may have specified an excludes rule.
If you specify an excludes rule, you need to remember to add in the
default rule, e.g.
**/*$*
Or else you will have the problem he encounters
2009/7/5 Mohan KR <km...@gmail.com>
>
> I thought by default it is excluded (at least for surefire)..
>
>
> Thanks,
> mohan kr
>
> -----Original Message-----
> From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com]
> Sent: Saturday, July 04, 2009 5:40 PM
> To: Jeff Bowman; Maven Users List
> Subject: Re: excluding inner classes
>
> It is better to ask questions on the users list as that way the answers are
> available for everyone
>
> 2009/7/3 Jeff Bowman <je...@gmail.com>
>
> > Is there a way to exclude innerclasses from failsafe/surefire? For my
> > integration tests, I'm getting a lot of failures on helper classes which
> > I've coded as inner classes in the integration tests (like RowMappers,
> etc).
> >
> > Thanks,
> > Jeff
> > --
> > Amateurs work until they get it right...
> > ... Professionals work until they can't get it wrong.
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: excluding inner classes
Posted by Mohan KR <km...@gmail.com>.
I thought by default it is excluded (at least for surefire)..
Thanks,
mohan kr
-----Original Message-----
From: Stephen Connolly [mailto:stephen.alan.connolly@gmail.com]
Sent: Saturday, July 04, 2009 5:40 PM
To: Jeff Bowman; Maven Users List
Subject: Re: excluding inner classes
It is better to ask questions on the users list as that way the answers are
available for everyone
2009/7/3 Jeff Bowman <je...@gmail.com>
> Is there a way to exclude innerclasses from failsafe/surefire? For my
> integration tests, I'm getting a lot of failures on helper classes which
> I've coded as inner classes in the integration tests (like RowMappers,
etc).
>
> Thanks,
> Jeff
> --
> Amateurs work until they get it right...
> ... Professionals work until they can't get it wrong.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org