Open GoogleCodeExporter opened 8 years ago
Hi,
Thx for reporting, Hamcrest is begining to be an urgent matter as times goes
by. We are still a bit locked up at the moment by ancient version and compile
time compatibility with previous binaries, that's why we still stick to
hamcrest 1.1.
But we definitely need to look in the matter. I'll hope we can spend time on it
for the next release.
Cheers,
Brice
Original comment by brice.du...@gmail.com
on 14 Jan 2013 at 8:21
Hmmm.. There's always the option of marking hamcrest as provided, but that
would be a breaking change for mockito users.
Original comment by jatw...@linuxstuff.org
on 14 Jan 2013 at 9:01
yes that could be a problem.
Original comment by brice.du...@gmail.com
on 29 Apr 2013 at 4:13
I just ran into this issue as well. It's quite confusing when your tests fail
with a NoSuchMethodError from inside the assertThat call. I devised this
example project that shows how the order of the dependencies matter:
https://github.com/chrisvest/hamcrest-cp-bug
Original comment by mr.chris...@gmail.com
on 11 Jun 2014 at 11:14
Hey thanks for this example :)
You may want to Create a wiki page with that content. Entitled with something
like Common issues.
Cheers
Original comment by brice.du...@gmail.com
on 27 Jun 2014 at 3:20
Perhaps this is a good reason to use AssertJ for your own tests. No conflicts,
and it results in a more "fluent" assertion.
Original comment by davidmic...@gmail.com
on 27 Jun 2014 at 3:31
Indeed !
Original comment by brice.du...@gmail.com
on 27 Jun 2014 at 3:35
Original issue reported on code.google.com by
jatw...@linuxstuff.org
on 11 Jan 2013 at 7:43