OPI Blog
Learn from experts in their fields

Browsing Tags: spock

Unit test your server-side JavaScript with Spock
Java 8 was recently released with Nashorn – a JavaScript runtime for the JVM. There are many reasons you may want to use JavaScript in your JVM application; for example, validation logic or template code ...
Apr 8, 2014
Spock Mock Cheatsheet
The Spock testing framework includes powerful mocking capabilities that work well in unit tests. The Spock documentation is extensive, but I often find myself hunting for the syntax of the different mocking mechanisms in Spock. ...
Mar 18, 2013
Testing tabular output in Spock
On my current project, we’ve created a large suite of Fitnesse tests.  These tests work quite well for validating certain types of data that are messy and difficult to visualize in normal unit tests.  For ...
Start building out automated groovy mobile web application testing on your iPhone or iPad with Geb and Spock
Leverage Geb and Spock for automated testing of mobile application on mobile devices, including the iPhone, iPad and Android devices....