Hamcrest version

37 views
Skip to first unread message

Matthew Jaskula

unread,
Jan 23, 2012, 12:21:37 PM1/23/12
to infinit...@googlegroups.com
Hi all, I'm a relatively new infinitest user, and I think the tool is pretty useful. 

I'm having a problem that stems from the fact that the version of hamcrest that my project uses is newer than the version used by infinitest. I'm happy to get my hands dirty and attempt to fix my issue, but I had some questions.

The 'Infintest Test Failure' is:
    NoSuchMethodError (org.hamcrest.core.AllOf.allOf(Lorg/hamcrest/Matcher;Lorg/hamcrest/Matcher;)Lorg/hamcrest/Matcher;)

I assume that infinitest does not intend to require specific versions of libraries used by the tests. Is this assumption correct?

Having not (yet) looked at the internals on infintest, my guess is there are two potential solutions:
1 - Upgrade the version of Hamcrest used by infinitest
2 - Fix the bug or missing feature that's causing the test classpath pollution

I would love to hear the opinions of those of you experienced with this codebase before I go too deeply down the wrong path. Thanks in advance.

--
Matthew Jaskula

David Gageot

unread,
Jan 28, 2012, 6:10:40 AM1/28/12
to infinit...@googlegroups.com
Hi,

Infinitest should not include Hamcrest. I guess it does since we updgraded the embedded JUnit to version 4.10. I'll fix this.

David.

David Gageot

unread,
Jan 28, 2012, 7:40:26 AM1/28/12
to infinit...@googlegroups.com
Version 5.1.101 should fix that bug

David.

Matthew Jaskula

unread,
Jan 28, 2012, 9:49:58 AM1/28/12
to infinit...@googlegroups.com
That's great, I'll be able to give it a try on Monday. Thanks.

--
Matthew Jaskula

Matthew Jaskula

unread,
Jan 30, 2012, 11:24:24 AM1/30/12
to infinit...@googlegroups.com
The new version (101) did not resolve my issue. 

I guess the next step is to provide a test case so that you can reproduce.

--
Matthew Jaskula

David Gageot

unread,
Jan 30, 2012, 11:36:48 AM1/30/12
to infinit...@googlegroups.com
+1

Sent from my iPhone

Reply all
Reply to author
Forward
0 new messages