Spock: Logical Testing for Enterprise Applications

Track: JVM Languages
Skill Level: Beginner
Room: Room A305
Time Slot: Wed 2/17, 10:30 AM
Tags: java , spock , groovy , testing , junit
Abstract

The Spock framework brings simple, elegant testing to Java and Groovy projects. It integrates cleanly with JUnit, so Spock tests can be integrated as part of an existing test suite. Spock also includes an embedded mocking framework that can be used right away.

In this presentation, we’ll look at several examples of Spock tests and review most of its capabilities, including mock objects and integration with Spring.

Ken Kousen

Ken Kousen is a technical trainer, software developer, and conference speaker specializing in Java and open source topics, including Android, Spring, Hibernate/JPA, Groovy, Grails, and Gradle. He is the author of the O’Reilly book “Gradle Recipes for Android” and the Manning book “Making Java Groovy”. He also has recorded several video courses for O’Reilly, including two on Android, three on Groovy, two on Gradle, and one on the Spring Framework.

In 2013 was awarded a JavaOne Rockstar award. His academic background include BS degrees in Mechanical Engineering and Mathematics from M.I.T., an MA and Ph.D. in Aerospace Engineering from Princeton, and an MS in Computer Science from R.P.I. He is currently President of Kousen IT, Inc., based in Connecticut.