...

/

Testing and Some Plugins

Testing and Some Plugins

Learn about testing in Grails and the cache plugin.

We'll cover the following...

Testing

Grails supports unit testing with a mixin approach. Annotations:

  • @TestFor(X): Specifies the class under test.
  • @Mock(Y): Creates a Mock for the given class.

For tests GORM provides an ...