Steve Freeman

Results 55 comments of Steve Freeman

What is the situation where you can't use the `appendDescriptionOf` method?

This is an interesting use case. Our intention was that matching should be direct enough that the cost of re-evaluation should be negligible, and the current implementation has the benefit...

I'm not sure what to do about this. I think the "right" answer might be to separate the timing behaviour from the raw matching, we wrote about this in GOOS...

I've been thinking about this again. It's true that we call `matchesSafely` twice (that actually happens in `assertThat()` but the problem you describe here is really one of waiting for...

That's possible but has a couple of problems. First, it breaks the contract that matchers are stateless, which has been a fundamental assumption so far. Second, I think this is...

This is obviously an important move. I think that Java 8 is a big enough change that it probably should have a new version and an API that exploits new...

challenges. - I fear we still need to support Java 7, but maybe that could just be frozen. - for similar reasons we probably ought to support Java 8 for...

You might want to have a look at the concepts of checker and probe in https://github.com/jmock-developers/windowlicker, it sounds pretty similar

@louisth before you put all the work in, we should take a look as this is quite a big change, especially if you (rightly or wrongly) want to redefine mismatchDescription

Personally, I think this one will cause unexpected problems. The reason we kept it slightly clunky is that getting rid of the clumsiness takes a lot of code and is...