-
```
I'm trying to inject a rule which is configured in a spring context into a
spock specification.
@ContextConfiguration(locations=["spring.xml"])
class TestSpec extends Specification {
@Rule …
-
```
When using Spock in combination with Slf4j, compilation errors can occur.
Example test with compilation error:
-------------
@Slf4j
class ExampleUnitTest extends Specification {
def 'exercis…
-
```
Describe the enhancement you have in mind.
Would it be possible to implement Specification as a Groovy trait instead of an
abstract class? (The abstract class could be part of a separate releas…
-
```
What steps will reproduce the problem? If possible, provide source code and
stack trace.
1. putting import spock.lang.Requires in test code gives error that Groovy:
unable to resolve spock.lang.…
-
_(Original title: `docs for Spock-server-api missing`)_
Hackage isn’t building and there are no docs on the AWS instance (like for `Spock` and `Spock-api`).
-
Hi,
There is already an issue open to have Jukito work with Groovy tests. But, this request is for having Jukito work with Spock tests. If need be I can volunteer to do the coding, since I know Groov…
RaviH updated
9 years ago
-
What steps will reproduce the problem?
Run a Spock test with a PowerMockRule
```
@PrepareForTest([Class1, Class2])
class MyTest extends Specification {
@Rule PowerMockRule powerMockRule
…
-
Since you’re using Groovy for tests (excellent choice!), you may consider using much more powerful [Spock Framework](https://github.com/spockframework/spock) instead of poor JUnit.
Let’s look at the …
-
This issue is reserved for comments on the blog post [Spock: share common test setup with Traits](http://www.frommknecht.net/spock-with-traits/). Leave a comment below and it will show up on the blog …
-
```
What steps will reproduce the problem? If possible, provide source code and
stack trace.
1. putting import spock.lang.Requires in test code gives error that Groovy:
unable to resolve spock.lang.…