aliakhtar / spock

Automatically exported from code.google.com/p/spock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

GoogleCodeExporter opened this issue · comments

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:

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

  • Changed title: Spock version of @NotYetImplemented that treats a data-driven feature method as a logical whole
  • Changed state: Accepted
  • Added labels: Type-NewFeature
  • Removed labels: Type-Defect