Here’s the recording of the NightHacking session I did with Stephen Chin at JFokus 2013. In this session I demonstrate my Setup Once Per Feature With Spock hack.
Disclaimer: This example is a hack that uses un-official/non-public Spock APIs. A proper implementation of this extensions is also included and distributed as part of my Spock Extensions module; The library can be downloaded from here and is also hosted on github. Also, as seen on Stephen Chin’s Nighthacker 🙂 The Missing pieces Prior to… Continue reading Setup Once Per Feature With Spock Extensions
The Missing Infrastructure Developing with Grails is a real delight, and testing my delightful Grails applications with Spock makes the experience even better. Some of Grails’ test cases, such as the Controllers, require a specialized setup because you don’t test them in the same manner as you would test PO[GJ]Os; you must mock requests and… Continue reading Testing Grails JAX-RS resources with Spock