In this presentation you'll be introduced to the Spock testing & mocking framework. We'll see how writing tests in Spock compares to JUnit and why it will save you time; which will make you enjoy writing tests; which will make you a better programmer; which will make you more money.
If you're a Java developer, you'll also be introduced to Groovy. Using Groovy in testing code is a great introduction to the language and a foot in the door to getting it accepted as a language standard within your company.
If you haven't been using JDK 8, the functional concepts and collection comprehensions in Groovy will change your life.
On the Webs
Localhost
From the project root, run npm start
or yarn start
.
This will start a node server providing the slides on port 8000
.
By default, the slides play without movies or sound.
If you would like to enable those, add a ?autoplay
to the url like this:
http://localhost:8000/?autoplay
There is a small starter project that loosely accompany these slides. It's meant to get you up and running quickly with something you can play around with.
It is located at test-often-and-prosper