forked from pschneider-manzell/grails-spock-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Peter Schneider-Manzell edited this page Jun 12, 2014
·
16 revisions
This project contains examples how to test a Grails 2.4.0 app with Spock.
- Units test with Spock: Domain classes
- Units test with Spock: Services
- Units test with Spock: Controllers
- Integration tests with Spock: Services
Coming soon
- Checkout the source
- Make sure you have Grails 2.4.0 installed (Or use the grails wrapper provided)
- run grails test-app unit:spock to execute all unit tests based on spock
- run grails test-app integration:spock to execute all integration tests based on spock
- run grails test-app functional:spock to execute all integration tests based on spock (Per default the test is executed using PhantomJS