Friday 28th February, 2014
3:15pm to 4:45pm
JUnit, a derivative of sUnit, was the unittest framework of choice with Java for many years. Then came TestNG and changed the scene: testing was about integration and system test as well as unit testing. With behaviour-driven development (BDD) augmenting test-driven development (TDD) more development of test frameworks became necessary. There are a number of Java frameworks for this but Spock, which is a Groovy-based system, knocks them all for six.
Because Groovy is a dynamic language that works with the Java data model, it is symbiotic with Java. Spock can therefore be used for testing mixed Java and Groovy systems.
In this session we will explore what Spock can do and why it is the Java testing framework of choice.
Doing what I want. bio from Twitter
Ex-theoretical physicist, ex-UNIX system programmer, ex-academic. Now an independent consultant, analyst, author, expert witness and trainer. Also doing startups. Interested in all things parallel and concurrent. And build.
Actively involved with Python, Groovy, GPars, GroovyFX, SCons, Java, and Gant. Also Gradle. And Python-CSP. Seriously interested in Ceylon, Kotlin, D, Go, Rust.
My stance on testing: it isn't optional. Spock, py.test, Catch, etc. are your friends
Sign in to add slides, notes or videos to this session