Testing Groovy and Java Systems

Skill Level:
Abstract

One easy way to add Groovy to existing Java systems is through testing. Writing tests in Groovy is easier than Java, without worrying about deploying Groovy in production. Groovy provides several capabilities to simplify testing, from GroovyTestCase and its subclasses to built-in mocks and stubs to the popular Spock framework. This talk will review the available options and demonstrate how to use them on combined Groovy and Java applications.

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.