I am somewhat new to testing (scary, yes), so please forgive me if it is ignorant.
Is spock-spring 0.7-groovy -2.0 compatible with the new release of Spring 3.2 in light of changes to the testing framework?
Ive looked through Spring 3.2 docs in the Testing section :
Also like Spock docs in the News section :
But nothing helps me determine whether the new Spring 3.2 testing environment will test so that the test context for the Spock specification is configured as described for Spring 3.2. Testing (Spring 3.2 docs section 11.3.4) so ββthat my annotated beans are injected.
I tried anyway, but was unsuccessful in loading the testing context, although tests that are independent of the beans entered pass fine.
I can provide detailed information about my @ContextConfiguration attempts (I tried both the locations= and classes= templates in the Spring 3.2 docs section of 11.3.4 mentioned above) if it should work, but for now my question is just this : Can the Spock Specification testing context be configured to work with Spring 3.2 ?.
If so, any successful examples would be great (not seeing any Spring 3.2 with Spock around).
Thanks.
source share