maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <brett.por...@gmail.com>
Subject Re: Unit test directory question
Date Mon, 01 Aug 2005 17:04:38 GMT
It could be a bug in 1.1-beta-1 (worth testing with 1.0.2) - can you
post the <build> section (and parent build sections if you extend)?

- brett

On 8/2/05, Aaron Colwell <acolwell@real.com> wrote:
> That is what I thought it would do, but it's trying to run tests on classes
> named FakeDynamicSource and other similarly named helper classes. I don't know
> if Maven version matters. I'm using v1.1-beta-1.
> 
> Aaron
> 
> On Tue, Aug 02, 2005 at 02:45:08AM +1000, Brett Porter wrote:
> > It picks up anything that ends in "Test". You can change this but
> > adding <excludes> (or changing the <includes>) in the <unitTest>
> > element inside <build>. See the project descriptor reference for more
> > info.
> >
> > Cheers,
> > Brett
> >
> > On 8/2/05, Aaron Colwell <acolwell@real.com> wrote:
> > > I'm looking at migrating my project over to using Maven, but I've run into
a
> > > problem with how 'maven test' works. I have a directory tree with JUnit tests
> > > in it, but I also have helper classes in that tree that the tests use. These
> > > classes tend to be stub implementations of interfaces. It looks like Maven
> > > tries to execute these as unit tests. They fail of course because they aren't
> > > JUnit tests.
> > >
> > > Is there a way to get maven to ignore these classes? What is the standard
> > > location for classes that are used only for unit testing, but aren't tests
> > > themselves?
> > >
> > > Thanks,
> > > Aaron
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message