An open API service indexing awesome lists of open source software.

https://github.com/codice/codice-test

Common test utilities for Codice projects
https://github.com/codice/codice-test

Last synced: 3 months ago
JSON representation

Common test utilities for Codice projects

Awesome Lists containing this project

README

          

# Codice Test Generic Utilities
Repository of re-usable test utilities.

### Modules
The following modules are defined:
* internal
* spock-all
* junit-extensions
* spock-extensions
* hamcrest-extensions
* mockito-extensions
* failsafe-controller

#### internal
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.

#### spock-all
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:

```

org.codice.test
spock-all
${codice-test.version}
pom
test

```

where `codice-test.version` is defined as a property with the latest code-test released version.

#### junit-extensions
Defines a set of [extensions](docs/junit-extensions.md) that can be used when defining JUnit test cases or Spock specifications.

#### spock-extensions
Defines a set of [extensions](docs/spock-extensions.md) that can be used when defining Spock specifications.

#### hamcrest-extensions
Defines a set of extensions that can be used with Hamcrest.

#### mockito-extensions
Defines a set of extensions that can be used with Mockito.

#### failsafe-controller
The [Failsafe Controller](docs/failsafe-controller.md) provides a testing framework to test code that uses Failsafe (from `net.jodah.failsafe`).

### Future iterations
Future implementations will:
* Provide CI/CD support