I’m somewhat new to testing (scary, huh), so please forgive me if this is ignorant.
Is spock-spring 0.7-groovy-2.0 compatible with new Spring 3.2 release in light of the changes made to the testing framework?
I’ve looked over both the Spring 3.2 docs under Testing:
As well as Spock docs under News:
But nothing helps me tell whether the new Spring 3.2 Testing framework will still allow a testing context for a Spock Specification to be configured in the manner described for Spring 3.2 Testing ( Spring 3.2 docs section 11.3.4) such that my annotated beans are injectable.
I tried anyway, but have been unsuccessful in loading a testing context, though tests not dependent upon injected beans pass fine.
I can provide details of my @ContextConfiguration attempts (tried both locations=
and classes=
patterns in Spring 3.2 docs section 11.3.4 referenced above) , if it ought to work, but for now my question is just this: Can a Spock Specification testing context still 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.