Over a million developers have joined DZone.

Gmock 0.8.0 released

· Java Zone

What every Java engineer should know about microservices: Reactive Microservices Architecture.  Brought to you in partnership with Lightbend.

We are pleased to announce the release of Gmock 0.8.0. Gmock is a mocking framework for Groovy focused on readable and concise tests.

This release provides the support for Groovy 1.6 but you actually need to use Groovy 1.6.1 as it fixes some bugs that was affecting GMock.

We took the benefit of Groovy 1.6 and AST to provide a @WithGMock annotation that you can use when you can't (or don't want) extends the GMockTestCase:

class YourTest extends GroovyTestCase {
// ... write your test here as normal

Please visit http://gmock.org or http://code.google.com/p/gmock/ for more information. Documentation: http://gmock.org/documentation/0.8.0

We are are now quickly approaching the 1.0 milestone and we would love to hear your feedback and suggestions.

The Gmock Devs

Microservices for Java, explained. Revitalize your legacy systems (and your career) with Reactive Microservices Architecture, a free O'Reilly book. Brought to you in partnership with Lightbend.


The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}