Brian Stewart is a senior Computer Science student at the University of Wisconsin - Eau Claire, and an avid lover of old books. Among Brian's technical interests are: automating everything with a script, crafting code that can be described as elegant, and continuously learning new ideas (most recently dabbling in function programming). With years of experience from IDEXX, Western Digital, and independent consulting, Brian brings a broad perspective and loves to share solutions. When not slinging test-driven code, Brian would rather put the screens away and dig in the garden, read a book, or go on a long walk with his wife, Amy.
Geared toward Java developers, this talk presents an approach to unit testing that is highly expressive, elegant and clean. The Spock framework builds on the classic unit testing power of JUnit and leverages the dynamic power of the Groovy language. Because Groovy and Spock run on the JVM, they integrate seamlessly to test code written in Java and other JVM languages. This presentation will feature a quick intro to the power of Groovy, give a high-level overview of the Spock framework, then dive into the nuts and bolts of writing tests with Spock. This will incorporate both static examples and live coding, with plenty of opportunities for questions. Want to strengthen your testing skills? Want to have fun writing good tests? Spock and Groovy offer all the power you need without the pain.