This repository contains a small example how to use Spock. Spock is a Groovy based testing framework which can easily be used to test Java code.
- Simple Unit tests containing different requirements such as:
- Normal Unit tests
- Parameterized Testing (with one or more parameters)
- Testing Exceptions
- Testing private methods
If you would like to add something feel free to do so. But please use a different git-branch as the 'master'-branch and open a Pull-Request for any changes.
Stefan Hufschmidt