On Mon, Feb 27, 2012 at 2:09 AM, Pepijn Van Eeckhoudt <
pep...@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

Reply via email to