sampig / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Support Spring's new ContextHierarchy Annotation #319

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently spock-spring only supports @ContextConfiguration but Spring added a 
new @ContextHierarchy annotation that offers new possibilities.

See 
http://static.springsource.org/spring/docs/3.2.x/javadoc-api/org/springframework
/test/context/ContextHierarchy.html

I provided a basic fix, but I'm not sure on how to write a test without adding 
the dependency to Spring 3.2.2

Fix for @ContextHierarchy
https://github.com/leonard84/spock/commits/spring-contexthierarchy

Original issue reported on code.google.com by l.brueni...@googlemail.com on 9 Jul 2013 at 8:00