commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Math] How to use a class from the "test" source tree?
Date Wed, 13 Jun 2012 17:06:43 GMT
On 13 June 2012 10:54, Gilles Sadowski <gilles@harfang.homelinux.org> wrote:
> Hi.
>
>> >
>> > Is there a way for an application to depend on the classes defined in the
>> > "test" subtree of the code repository?
>>
>> If the component releases the test jar, then it should be possible.
>
> It seems that it's not released as a JAR (probably only in the zip/tar
> and source archive).

Well, we did agree to release test jars in Commons, so perhaps the pom is wrong.

For example. IO has the test jars in the Maven repo:

http://repo1.maven.org/maven2/commons-io/commons-io/2.3/

>>
>> But if the test code is more generally useful, perhaps it should be
>> moved to the java subtree.
>
> I'd like to make it easy to use "PerfTestUtils" outside of the CM
> development environment.
>
> Is it OK to move it to "main"? Before doing so, I also expected that more
> people would have a look at it, and agree on the "methodology" (or suggest
> ways to improve it) and API.
>
> When I move it, should it go to the top-level package "o.a.c.m"? Or maybe
> into "util"? Or even a new "util/perf" subpackage (to separate utilities
> used by the CM code from utilities used to test the code's performance?
>
>
> Regards,
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

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


Mime
View raw message