Skip to content

pschneider-manzell/grails-spock-examples

Repository files navigation

Grails Spock Examples

Current build status: Build Status

You can find detailed descriptions in the Wiki

Grails project with tests based on Spock.

  • For examples based on Grails 1.3.7, take a look at branch 1_3_7
  • For examples based on Grails 2.2.0, take a look at branch 2_2_0
  • For examples based on Grails 2.3.7, take a look at branch 2_3_7
  • For examples based on Grails 2.4.0, take a look at branch 2_4_0

It contains examples for:

Unit tests

  • Domain classes
  • Service classes
  • Controller classes

Integration tests

  • Services

Functional tests

  • Scaffolding CRUD actions (Based on Geb)

Running the tests

  1. Checkout the source
  2. run grailsw test-app unit:spock to execute all unit tests based on spock
  3. run grailsw test-app integration:spock to execute all integration tests based on spock

About

Grails project with tests based on Spock.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published