jmock-developers / jmock-library

An expressive Mock Object library for Test Driven Development
http://www.jmock.org
BSD 3-Clause "New" or "Revised" License
130 stars 69 forks source link

Java8 Syntax Review #78

Open dmcg opened 8 years ago

dmcg commented 8 years ago

Now the mailing list is dead I thought this might be a good place to discuss my spike for a Java8 skin.

Expec8ionsTest is able to run against the current release of JMock

Expec8ionsMockeryTest requires some changes to Mockery to support diverting invocations.

And no, I'm not wedded to the name!

olibye commented 8 years ago

I'd love to hear more about this. Have you got any pull requests? The links you posted link return 404s

dmcg commented 8 years ago

Sorry Oli, superceded by more recent messing about.

https://github.com/dmcg/nowthen is a simple proposal.

https://github.com/dmcg/jmock-play/blob/master/src/test/java/org/jmock/function/Expec8ionsMockeryTest.java gives the gist of a more, er, pragmatic but user-focused approach.

olibye commented 8 years ago

I like it.

It looks like a great start at a jMock DSL refresh.

On Wed, 20 Apr 2016 at 23:09 Duncan McGregor notifications@github.com wrote:

Sorry Oli, superceded by more recent messing about.

https://github.com/dmcg/nowthen is a simple proposal.

https://github.com/dmcg/jmock-play/blob/master/src/test/java/org/jmock/function/Expec8ionsMockeryTest.java gives the gist of a more, er, pragmatic but user-focused approach.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/jmock-developers/jmock-library/issues/78#issuecomment-212646529

olibye commented 7 years ago

Ok let's get this in