Track 4: Workshop - Spock: the test framework of choice

A session at NorDevCon 28th February 2014

Friday 28th February, 2014

3:15pm to 4:45pm (GMT)

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.

About the speaker

This person is speaking at this event.
Russel Winder

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

Tell your friends!


Time 3:15pm4:45pm GMT

Date Fri 28th February 2014

Short URL


View the schedule


Books by speaker

  • Python for Rookies
  • Developing Java Software (third edition)

See something wrong?

Report an issue with this session