spockframework / spockframework/spock

It would be handy to have a "global" where-block for @stepwise specifications

Open
#407 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module-Core Type-NewFeature
Dominant language
Java
Stars
3.6k
Forks
483
PR merge metrics
No merged PRs in 30d

Description

Originally reported on Google Code with ID 285

Within a @Stepwise annotated specification it would be very convenient to have a central,
spec-wide where block to be able to define dataproviders for larger specs, which then
will be used run whole spec parameterized

could be in the setup methods or special method with a certain annotation

Reported by klaus@jumio.com on 2012-11-22 09:48:57

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names @Stepwise specifications and proposes setup methods or a specially annotated method, but no file or test is identified. Start by locating the @Stepwise handling and existing where-block or data-provider behavior; done means a central, spec-wide where block can parameterize the whole specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.