buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Boisvert <alex.boisv...@gmail.com>
Subject Re: JMock in java/tests.rb
Date Mon, 27 Feb 2012 16:06:12 GMT
On Mon, Feb 27, 2012 at 2:09 AM, Pepijn Van Eeckhoudt <
pepijn@vaneeckhoudt.net> wrote:

> The JUnit and TestNG support automatically pull in JMock without an option
> to disable this. Any idea why this is done? It seems rather arbitrary to
> pull in one specific testing library.
>
> This is causing problems in my builds because jmock pulls in hamcrest 1.1
> while my unit tests depend on hamcrest 1.2.
>
> Anyone against removing this or at least making it optional?


The reason was convenience since they are/were often used together.

I'm good with an option to make it optional and/or configure the version
used.

alex

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message