No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
spock-mock-cheatsheet.pdf

README.md

Spock Mock Cheatsheet

This repo contains sample tests illustrating several different variations of Spock mocking techniques.

A PDF of the cheatsheet is in the root directory of the repo: spock-mock-cheatsheet.pdf

The tests are located in src/test/groovy/cheatsheet

To run the tests using Gradle, on Linux/Mac run

./gradlew test

And on Windows run

gradlew.bat test