https://github.com/hypertrace/hypertrace-gradle-integration-test-plugin
A gradle plugin for writing integration tests
https://github.com/hypertrace/hypertrace-gradle-integration-test-plugin
Last synced: 11 months ago
JSON representation
A gradle plugin for writing integration tests
- Host: GitHub
- URL: https://github.com/hypertrace/hypertrace-gradle-integration-test-plugin
- Owner: hypertrace
- License: apache-2.0
- Created: 2020-06-25T21:49:48.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-08T09:17:44.000Z (almost 5 years ago)
- Last Synced: 2025-01-21T17:49:53.423Z (about 1 year ago)
- Language: Java
- Size: 84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Hypertrace Integration Test Plugin
###### org.hypertrace.integration-test-plugin
[](https://circleci.com/gh/hypertrace/hypertrace-gradle-integration-test-plugin)
### Purpose
This plugin creates a source set, configurations and a task to support integration tests. It works off
the `java` plugin, and will only run after it has been applied.
### Example
```kotlin
plugins {
id("org.hypertrace.integration-test-plugin") version ""
}
dependencies {
// Use JUnit 5 for testing (or whatever test lib you'd like - the plugin is agnostic)
integrationTestImplementation("org.junit.jupiter:junit-jupiter:5.5.2")
}
tasks.integrationTest {
// Because we used junit 5 above, we have to switch gradle over. This can be omitted with the default, junit 4.
useJUnitPlatform()
}
```