@ContextConfiguration should be treated as meta-annotation
GoogleCodeExporter opened this issue · comments
Google Code Exporter commented
Since spring 4.0 @ContextConfiguration can be used as meta-annotation to create
custom annotation which prevent repeating of configuration settings.
for example:
@ContextConfiguration(...)
@Profile("test")
public @interface MyTestContext {..}'
and on test class, simply:
@MyTestContext
public class MyTest {
...
}
This works nicely in pure junit, but not in spock.
Original issue reported on code.google.com by wojciech...@gmail.com
on 16 Feb 2014 at 4:28
Google Code Exporter commented
Seems like fixed by
https://github.com/spockframework/spock/commit/718bf4261d3abaa6217ee059639c3aae2
f8a5803.
Original comment by zefif...@gmail.com
on 31 May 2015 at 7:31