Hamcrest version?

2 views
Skip to first unread message

Eric

unread,
Nov 8, 2010, 5:11:33 AM11/8/10
to narrative-users
Hi everyone,

I'm just starting to check out Narrative.

One thing I noticed on the BasicArithmeticTest sample is that it is
using org.hamcrest.Matchers.
I do not have that in my version of Hamcrest. I do, however, have
something called org.hamcrest.CoreMatchers which does contain
equalTo().

That should not be a problem in itself, but I was wondering if you
guys were using/recommending a specific version of Hamcrest?

AFAICT, the version of Hamcrest we have in our dependencies comes
directly from JUnit (version 4.8.2 in our case).

Eric

Douglas Squirrel

unread,
Nov 8, 2010, 5:25:39 AM11/8/10
to narrati...@googlegroups.com
Thanks for trying narrative, Eric!

build.gradle suggests we are using hamcrest 1.2 and junit 4.8.2:

compile group: 'org.hamcrest', name: 'hamcrest-integration', version: '1.2'
[snip]
testCompile group: "junit", name: 'junit-dep', version: "4.8.2"

Can anyone else on list please confirm for Eric?

Suggestions for making our examples easier to try would be very welcome from Eric or others.

Reply all
Reply to author
Forward
0 new messages