commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Aymé <julien.a...@gmail.com>
Subject Re: [dbutils] Consider moving Mock classes from src/test to src/java
Date Wed, 02 Sep 2009 06:44:44 GMT
2009/9/2 Jochen Wiedmann <jochen.wiedmann@gmail.com>:
> On Tue, Sep 1, 2009 at 10:29 PM, Dan Fabulich<dan@fabulich.com> wrote:
>
>> Filing a JIRA issue wouldn't hurt, but I'm not sure we'd want to ship our
>> mocks as part of the product.  I think there are better implementations of
>> MockResultSet out there (SQLUnit, Mockrunner, etc.)
>
> Why not simply publish the test jar? That way the mock classes can be
> reused while at the same time stay in the tests folder. See
>
>    http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html
>

Yes, that would be a good solution too. This way, every user who want
to use the test jar could use the published one.

Does this change the way the distrib is build, and/or alter the maven scripts?

Julien

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


Mime
View raw message