You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Henri Yandell <ba...@generationjava.com> on 2003/10/02 04:12:13 UTC

[collections] testing

I'm a bit confused with Collections atm.

'ant test' calls src/test/org/apache/commons/collections/TestAll.java.
However this does not list tests in sub-packages that I can see [though I
imagine things like the iterators package could be tested through
TestIteratorUtils.

Anyone know what the deal is? Have we switched to Maven for
building/testing?

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [collections] testing

Posted by Henri Yandell <ba...@generationjava.com>.

On 2 Oct 2003, Janek Bogucki wrote:

> On Thu, 2003-10-02 at 16:42, Henri Yandell wrote:
> >
> >
> > Why should both not do the same?
> >
> > When I type 'ant test' and 'maven test', they should be equivalent. Unless
> > we decide to drop ant or maven support.
>
> The outcome of my suggested changes was meant to be:
>
> 	build.xml uses TestAll
> 	project.xml uses TestAll
> 	ant test & maven test both run all the tests
>
> Which is what you want as well. Maybe I worded it badly.

Sorry, my fault. I read it wrong. Your suggestion definitely gets my vote.
I'll go ahead and make the change and check it in when I get OrderedMap's
values/entrySet/keySet stuff done.

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [collections] testing

Posted by Janek Bogucki <ya...@studylink.com>.
On Thu, 2003-10-02 at 16:42, Henri Yandell wrote:
> 
> 
> On 2 Oct 2003, Janek Bogucki wrote:
> 
> > On Thu, 2003-10-02 at 02:12, Henri Yandell wrote:
> > >
> > > I'm a bit confused with Collections atm.
> > >
> > > 'ant test' calls src/test/org/apache/commons/collections/TestAll.java.
> > > However this does not list tests in sub-packages that I can see [though I
> > > imagine things like the iterators package could be tested through
> > > TestIteratorUtils.
> > >
> > > Anyone know what the deal is? Have we switched to Maven for
> > > building/testing?
> > >
> > > Hen
> >
> > There was bug related to this:
> > http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23155
> >
> > It's an oversight. project.xml was switched to use
> > o.a.c.collections.TestAllPackages but build.xml still uses
> > o.a.c.collections.TestAll.
> >
> > My preference would be to change o.a.c.collections.TestAll to do what
> > o.a.c.collections.TestAllPackages does and then revert project.xml to
> > use TestAll.
> 
> Why should both not do the same?
> 
> When I type 'ant test' and 'maven test', they should be equivalent. Unless
> we decide to drop ant or maven support.
> 
> Hen

The outcome of my suggested changes was meant to be:

	build.xml uses TestAll
	project.xml uses TestAll
	ant test & maven test both run all the tests

Which is what you want as well. Maybe I worded it badly.

-Janek


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [collections] testing

Posted by Henri Yandell <ba...@generationjava.com>.

On 2 Oct 2003, Janek Bogucki wrote:

> On Thu, 2003-10-02 at 02:12, Henri Yandell wrote:
> >
> > I'm a bit confused with Collections atm.
> >
> > 'ant test' calls src/test/org/apache/commons/collections/TestAll.java.
> > However this does not list tests in sub-packages that I can see [though I
> > imagine things like the iterators package could be tested through
> > TestIteratorUtils.
> >
> > Anyone know what the deal is? Have we switched to Maven for
> > building/testing?
> >
> > Hen
>
> There was bug related to this:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23155
>
> It's an oversight. project.xml was switched to use
> o.a.c.collections.TestAllPackages but build.xml still uses
> o.a.c.collections.TestAll.
>
> My preference would be to change o.a.c.collections.TestAll to do what
> o.a.c.collections.TestAllPackages does and then revert project.xml to
> use TestAll.

Why should both not do the same?

When I type 'ant test' and 'maven test', they should be equivalent. Unless
we decide to drop ant or maven support.

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Re: [collections] testing

Posted by Janek Bogucki <ya...@studylink.com>.
On Thu, 2003-10-02 at 02:12, Henri Yandell wrote:
> 
> I'm a bit confused with Collections atm.
> 
> 'ant test' calls src/test/org/apache/commons/collections/TestAll.java.
> However this does not list tests in sub-packages that I can see [though I
> imagine things like the iterators package could be tested through
> TestIteratorUtils.
> 
> Anyone know what the deal is? Have we switched to Maven for
> building/testing?
> 
> Hen

There was bug related to this:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23155

It's an oversight. project.xml was switched to use 
o.a.c.collections.TestAllPackages but build.xml still uses
o.a.c.collections.TestAll.

My preference would be to change o.a.c.collections.TestAll to do what
o.a.c.collections.TestAllPackages does and then revert project.xml to
use TestAll.

-Janek

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org