All Projects → pschneider-manzell → Grails Spock Examples

pschneider-manzell / Grails Spock Examples

Grails project with tests based on Spock.

Programming Languages

groovy
2714 projects

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].