Forgus / spock

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

Inherited stepwise behaviour #220

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I discovered that the @Stepwise annotation can't be inherited and to solve this 
problem I wrote my own annonation and replaced all occurences of 
"spec.getFeatures()" by "spec.getAllFeatures()" in a new version of the 
org.spockframework.runtime.extension.builtin.StepwiseExtension.

So a solution would be maybe another boolean for the annotation f.e. like 
@Stepwise(inherit=true) that takes care of these already mentioned function 
calls.

Original issue reported on code.google.com by johann.b...@googlemail.com on 15 Dec 2011 at 9:01

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 17 Feb 2012 at 3:06

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 17 Feb 2012 at 3:06

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 24 Feb 2012 at 7:39

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 1 Mar 2015 at 11:47