RichardWarburton / lambda-behave

A modern testing and behavioural specification framework for Java 8
http://richardwarburton.github.io/lambda-behave/
MIT License
253 stars 52 forks source link

lambda behave does not work with recent mockito versions #88

Closed christophsturm closed 9 years ago

christophsturm commented 9 years ago

lambda behave works great with mockito 2.0.2-beta, but if i upgrade to 2.0.14-beta it fails because mockito uses bytebuddy instead of cglib now and no longer bundles cglib.

The root problem here is that the bundled cglib in mockito is not public and lamba-behave should not use it.

RichardWarburton commented 9 years ago

Hi Christoph,

Thanks for your bug report. I've pushed a fix in 612b178134723991f6c85343dde098f13f3d07c2 which adds an explicit dependency on cglib.

christophsturm commented 9 years ago

thanks! are you planning a new release soon?

RichardWarburton commented 9 years ago

I wasn't - but if the current situation is causing you trouble I can push a release out.

christophsturm commented 9 years ago

no, we are running from git anyway. but would like to move to a release at some point, and master has lost of unreleased fixes.

RichardWarburton commented 9 years ago

In that case I'll try to get a release out this week.

christophsturm commented 9 years ago

thanks!

RichardWarburton commented 9 years ago

Hi @christophsturm apologies for my delay in getting back to you on this front. I've just done a release of 0.4. It should propagate to maven central soon. Let me know if there's any issues.