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
- Host: GitHub
- URL: https://github.com/codice/codice-test
- Owner: codice
- License: apache-2.0
- Created: 2018-09-24T15:40:54.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T23:27:55.000Z (about 1 year ago)
- Last Synced: 2025-01-28T00:21:03.935Z (about 1 year ago)
- Language: Java
- Size: 485 KB
- Stars: 2
- Watchers: 30
- Forks: 7
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
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