You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-dev@incubator.apache.org by Gilles Scokart <gs...@gmail.com> on 2007/01/10 08:29:02 UTC

Testing with all supported versions

(started from thread 'RE: [jira] Commented: (IVY-378) Downloads from
filesystem repositories are slow', but has nothing to do with that anymore)

> -----Original Message-----
> From: Xavier Hanin [mailto:xavier.hanin@gmail.com] 
> 
> To be clean we should set up a test environment and run the 
> unit tests against all supported versions. We should... :-)
> 
> Xavier
> 

HoHo...   That make me thing to a nice feature request.

Ivy support version ranges in the dependencies, and ivy generates a valid
classpath with those dependencies.  So why not ask ivy to generates a set of
coherent dependencies, and find an ant tricks to run the test with each
generated classpath.

The size of the generated set should be configurable : take all valid
version combination, or just all combination of lowest and higest version
(without using intermediate versions), or just two classpath (one with the
all lowest acceptable version of all dependency and one with all highest
version).

The idea has certainly to be refined (it's something I have never seen in
other product), but this kind of features would really illustrates the power
of the dependency management!


What do you think about it?


Gilles


Re: Testing with all supported versions

Posted by Xavier Hanin <xa...@gmail.com>.
On 1/10/07, Gilles Scokart <gs...@gmail.com> wrote:
>
>
> (started from thread 'RE: [jira] Commented: (IVY-378) Downloads from
> filesystem repositories are slow', but has nothing to do with that
> anymore)
>
> > -----Original Message-----
> > From: Xavier Hanin [mailto:xavier.hanin@gmail.com]
> >
> > To be clean we should set up a test environment and run the
> > unit tests against all supported versions. We should... :-)
> >
> > Xavier
> >
>
> HoHo...   That make me thing to a nice feature request.
>
> Ivy support version ranges in the dependencies, and ivy generates a valid
> classpath with those dependencies.  So why not ask ivy to generates a set
> of
> coherent dependencies, and find an ant tricks to run the test with each
> generated classpath.
>
> The size of the generated set should be configurable : take all valid
> version combination, or just all combination of lowest and higest version
> (without using intermediate versions), or just two classpath (one with the
> all lowest acceptable version of all dependency and one with all highest
> version).
>
> The idea has certainly to be refined (it's something I have never seen in
> other product), but this kind of features would really illustrates the
> power
> of the dependency management!
>
>
> What do you think about it?


The idea is very interesting indeed, even if it can become a huge set, and
defining the maximum size is a must. Moreover, the problem is not easy to
solve if you have conflicts between your revisions. But the idea is very
interesting, indeed.

Xavier


> Gilles
>
>