-
I'd like to group tests by annotation, e.g. into business test cases and technical details tests.
Based on this I'd like to exclude technical tests when generating a report for business users (or at …
-
```
I've been playing with Spock and traits mix and I spotted an issue with @Shared
field declared in a trait. Following code fails:
```
class SharedTraitUsage extends Specification implements MySh…
-
```
See the example below.
Regular mocks evaluate to true but groovy mocks resolve to false.
class GroovyMockSpec extends Specification {
def mock = Mock(A)
def groovyMock = GroovyMock(Object…
-
```
Given these two Spec :
class FooServiceSpec extends Specification {
def 'doSomething() should do something'() {
setup:
GroovyMock(Bar, global: true)
when:
…
-
```
Given these two Spec :
class FooServiceSpec extends Specification {
def 'doSomething() should do something'() {
setup:
GroovyMock(Bar, global: true)
when:
…
-
```
Given these two Spec :
class FooServiceSpec extends Specification {
def 'doSomething() should do something'() {
setup:
GroovyMock(Bar, global: true)
when:
…
-
I believe there is an experimental, full-node version of bitcoinj -- A quick search didn't find any code, though.
There is a `Transaction.verify()` method but it doesn't do complete verification the …
-
```
Since spring 4.0 @ContextConfiguration can be used as meta-annotation to create
custom annotation which prevent repeating of configuration settings.
for example:
@ContextConfiguration(...)
@Pr…
-
```
Since spring 4.0 @ContextConfiguration can be used as meta-annotation to create
custom annotation which prevent repeating of configuration settings.
for example:
@ContextConfiguration(...)
@Pr…
-
```
The following doesn't work, but I can't work out why. The delegate is not null,
but seems to be in the generated methods.
import spock.lang.*
class SharedDelegateSpec extends Specification {
…