spock icon indicating copy to clipboard operation
spock copied to clipboard

The Enterprise-ready testing and specification framework.

Results 204 spock issues
Sort by recently updated
recently updated
newest added

### Is your feature request related to a problem? I run all my other tests in randomized order - integration tests and frontend tests. I would like to run my...

new feature

# Issue description When trying to setup some class globally using GroovyMock(i.e. GroovyMock(StringUtils, global: true)) in setupSpec, Spock throws exception saying: `java.lang.IllegalStateException: Cannot request current iteration in @Shared context.` After...

not a bug

### Describe the bug There is some additional context [here](https://gitter.im/spockframework/spock?at=61c4286e82a4667b25403d7f). Check the reproduction for explanation what the bug is. cc @leonard84 ### To Reproduce ```groovy class A {} class B...

bug

Spock 0.7 added the `@ConditionBlock` annotation to support user-defined blocks with implicit annotations, but it is missing from the docs.

help wanted
component:docs

# Issue description _IGlobalExtension#start()_ and _stop()_ are run during _SpockEngine_ test collection even if there are no test classes for Spock to collect. This leads to _start()_ and _stop()_ being...

3rd-party: Maven Surefire

Would it be possible to express multi-dimensional test data by allowing a sequence of two or more where clauses? ``` package com.example import spock.lang.Specification class ComplexProblemTest extends Specification { @Unroll...

enhancement

# Issue description Occasionally. it is confusing to have `junit-platform-testkit` provided as an optional `spock-core` dependency (with its own dependencies). Namely [here](https://github.com/spockframework/spock/pull/1175#discussion_r436570564) and [here](https://github.com/spockframework/spock/issues/1148). # Proposed solution As regular tests...

enhancement
breaking change
waiting for feedback
3rd-party: junit-platform

This is an issue to track an ability to better handle calling `go.x` when the generic Java mock implementation is used for an Groovy object in Groovy 3. Currently a...

enhancement
groovy3
3rd-party: Groovy

This change is [](https://reviewable.io/reviews/spockframework/spock/984)

This enables the use of closures in the lists passed to the triple-right-shift (>>>) operator. **Examples** 1. The expression ``queue.poll() >> { throw new UnsupportedOperationException() } >> { throw new...

enhancement
breaking change