Package | Description |
---|---|
spock.lang |
The core specification language.
|
Modifier and Type | Class and Description |
---|---|
class |
MockingApi
Spock's mocking API primarily consists of the following factory methods:
Mock()
Creates a general-purpose test double that supports both stubbing and mocking.
Stub()
Creates a test double that supports stubbing but not mocking.
Spy()
Creates a test double that, by default, delegates all calls to a real object.
|
class |
Specification
Base class for Spock specifications.
|
Copyright © 2016. All rights reserved