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

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.