spockframework / spockframework/spock
Implicit and explicit spread-dot do not work to declare interactions
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 483
- PR merge metrics
- No merged PRs in 30d
Description
Neither this:
[message, messageByFakeUser]*.author.name >> actualUserName
nor this:
[message, messageByFakeUser].author.name >> actualUserName
work.
This does:
[message, messageByFakeUser].each {
it.author.idLong >> actualUserId
}
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
Start by reproducing the two failing spread-dot interaction examples and compare them with the working each example shown in the issue. Done means implicit and explicit spread-dot forms can declare the same interaction as the each-based form.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100