spockframework / spockframework/spock
@Stepwise annotation ignored on superclass
Open
Nobody has claimed this yet.
Module-Core
Type-Defect
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 483
- PR merge metrics
- No merged PRs in 30d
Description
Originally reported on Google Code with ID 178
I have reproduced this with Geb by creating a test that extends GebSpec and then subclassing
that class. The parent class is annotated with Stepwise, but the tests in the parent
class do not execute in declared order.
I have not yet attempted to reproduce this in another, non-Geb-related situation.
Reported by raygarstasio on 2011-04-13 02:56:52
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a test extending GebSpec and then subclassing that class, with @Stepwise on the parent. Start by tracing how Stepwise annotations are handled across the superclass boundary; done means the parent tests execute in their declared order when inherited.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy, java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100