sreedharkesarla / spock

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

Spock version of @NotYetImplemented that treats a data-driven feature method as a logical whole #361

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? If possible, provide source code and
stack trace.
@NotYetImplemented does not work with Spock data driven tests where one of the 
tests from the where clause passes.  Refer to attached test case.

What version of Spock and Groovy are you using?
org.spockframework:spock-core:0.7-groovy-2.0
org.codehaus.groovy:groovy-all:2.2.2

Please provide any additional information below. You can also assign
labels.
I previously added comment on 
https://code.google.com/p/spock/issues/detail?id=124 not realising it was 
closed.

Original issue reported on code.google.com by tommy...@firefire.co on 22 Apr 2014 at 11:22

Attachments:

GoogleCodeExporter commented 8 years ago
Technically speaking, this works as expected. The semantics that you are 
proposing seem more useful, but to realize them, we'd have to implement our own 
version of Groovy's @NotYetImplemented. Therefore I've changed this to a 
feature request. Thanks for the report!

Note to myself: @PlannedFeature might be a good name for our version of 
@NotYetImplemented. This is in contrast to @PendingSpec, which would also be a 
worthwhile addition.

Original comment by pnied...@gmail.com on 23 Apr 2014 at 6:22