Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Gmock 0.8.0 released

DZone's Guide to

Gmock 0.8.0 released

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

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:

@WithGMock
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

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}