justin cater
Posts: 19616
Nickname: justin78
Registered: Mar, 2011
|
Justin Cater is executive editor at Java Code Geeks
|
|
|
|
Grails 3.3 Integration Testing with Spock Mocks
|
Posted: Jul 19, 2017 1:46 AM
|
|
It is easy to use the Spock Framework, shipped with Grails, to mock or stub a collaborator (such as a service) in our Grails unit tests. The Testing chapter explains a bit about mocking collaborators, doWithSpring/doWithConfig callback methods, the FreshRuntime annotation to mock beans in tests — but they’re mainly for unit testing. How about ...
Read: Grails 3.3 Integration Testing with Spock Mocks
|
|