Skip to content

daslapovsky/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

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. Make sure you have Grails 2.3.5 installed
  3. run grails test-app unit:spock to execute all unit tests based on spock
  4. run grails 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