|
|
@ -7731,10 +7731,10 @@ can specify a source for your test, which disables the behavior of finding a def
|
|
|
|
==== Using Spock to Test Spring Boot Applications
|
|
|
|
==== Using Spock to Test Spring Boot Applications
|
|
|
|
If you wish to use Spock to test a Spring Boot application, you should add a dependency
|
|
|
|
If you wish to use Spock to test a Spring Boot application, you should add a dependency
|
|
|
|
on Spock's `spock-spring` module to your application's build. `spock-spring` integrates
|
|
|
|
on Spock's `spock-spring` module to your application's build. `spock-spring` integrates
|
|
|
|
Spring's test framework into Spock. It is recommended that you use Spock 1.1 or later to
|
|
|
|
Spring's test framework into Spock. It is recommended that you use Spock 1.2 or later to
|
|
|
|
benefit from a number of improvements to Spock's Spring Framework and Spring Boot
|
|
|
|
benefit from a number of improvements to Spock's Spring Framework and Spring Boot
|
|
|
|
integration. See http://spockframework.org/spock/docs/1.1/modules.html[the documentation
|
|
|
|
integration. See http://spockframework.org/spock/docs/1.2/modules.html#_spring_module[the
|
|
|
|
for Spock's Spring module] for further details.
|
|
|
|
documentation for Spock's Spring module] for further details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|