Testing JVM Applications with Spock

In this half-day, online workshop, you'll gain an understanding of how to apply the Spock framework to implement best practices for testing JVM applications.

Upcoming Offerings

Classes Currently being scheduled. Contact Us to set up yours!


Spock is an open source testing and specification framework for JVM applications.

This course provides an in-depth demonstration of the testing capabilities of Spock and prepares students to integrate these powerful solutions into the development cycle of their JVM applications.

Through lectures, real-world examples, and hands-on exercises, participants will have the opportunity to explore multiple testing practices, including unit testing (Mock objects, stubs ...), integration testing (Test Leakage ...), and functional testing (browser automation, REST APIs testing ...) with the Spock framework.


To get the most out of this workshop, we recommend participants have beginner to intermediate proficiency with the Java Virtual Machine (JVM) and an understanding of how web applications work in general.

Spock leverages Groovy programming language capabilities to power its DSL features, but no particular expertise with Groovy is required.


The following topics are covered in this workshop:

  • Groovy Primer
  • Instance Fields
  • Shared Fields
  • Fixture Methods
  • Feature Methods
  • Data-Driven Testing
  • Unroll
  • Exceptions
  • Mocks
  • Stubs
  • Spies
  • Interactions


Duration: 3 hours

Date: November 2, 2018

Time: 9:00 a.m. to 12:00 p.m. CT

Location: Online (Registrants will receive a link to log into the live, online training course.)

Instructor: Sergio del Amo Caballero, OCI Senior Software Engineer

Price: $50.00 USD per student

Meet the Instructor

Sergio del Amo Caballero, OCI Software Engineer, Grails & Micronaut Team

Sergio del Amo Caballero

Grails & Micronaut Team

OCI Grails & Micronaut Team member, Sergio del Amo, is an experienced web and mobile developer. He likes to create products, understand them, and evolve them. For the past six years, he has been developing Grails applications and is currently involved with client work, Grails Guides, Grails Plugins, and other aspects of the framework. He feels genuinely empowered by Grails and likes how succinct and powerful Groovy is.

Since April 2015, Sergio has been the author of Groovy Calamari, a weekly newsletter about the Groovy Ecosystem: Grails, Geb, Gradle, and Ratpack.

Maximize your training experience by adding these courses to your curriculum.

Professional Training for Modern Technology Teams

Flexible Technology Training

Keep your team on the cutting edge with our technology training offerings.

  • Courses are developed and led by practicing software engineers and subject matter experts.
  • All courses can be customized to meet your organization's unique needs.
  • Courses can be conducted at your location, online, or in our state-of-the-art training lab in St. Louis, Missouri.

Many of our courses are also offered to the public both online and at our Midwest training lab for your convenience.

Visit our training schedule to sign up for upcoming webinars, workshops, and classes, or conduct your next training program in our training lab.

* You may unsubscribe from our mailing list at any time using the 'unsubscribe' link at the bottom of every email. You can customize your email subscriptions here. To see how we keep your personal information secure, please visit our privacy policy.