Skip to content

Unit Testing

amilward edited this page Oct 1, 2013 · 2 revisions

We have chosen Spock for our unit test framework. Please see https://github.com/pschneider-manzell/grails-spock-examples/wiki/_pages for more information on the Spock framework.

The tests for the model are located: test/unit/uk/co/mdc/model/domain - for the domain classes

test/unit/uk/co/mdc/model/controller - for the controllers

test/unit/uk/co/mdc/model/services - for the services

They suffixed with ***Spec.

To Run The Tests: grails test-app unit:spot to run the unit tests.

Clone this wiki locally