Repository of re-usable test utilities.
The following modules are defined:
- internal
- spock-all
- junit-extensions
- spock-extensions
- hamcrest-extensions
- mockito-extensions
- failsafe-controller
Defines a set of common utilities used internally by all other modules. This module is not meant to be depended on from outside this workspace.
Defines a single pom artifact that contains all dependencies required to develop and execute Spock specifications. Simply add the following to your pom file to be able to compile and run Spock specifications:
<dependency>
<groupId>org.codice.test</groupId>
<artifactId>spock-all</artifactId>
<version>${codice-test.version}</version>
<type>pom</type>
<scope>test</scope>
</dependency>
where codice-test.version
is defined as a property with the latest code-test released version.
Defines a set of extensions that can be used when defining JUnit test cases or Spock specifications.
Defines a set of extensions that can be used when defining Spock specifications.
Defines a set of extensions that can be used with Hamcrest.
Defines a set of extensions that can be used with Mockito.
The Failsafe Controller provides a testing framework to test code that uses Failsafe (from net.jodah.failsafe
).
Future implementations will:
- Provide CI/CD support