Skip to content

hypertrace/hypertrace-gradle-integration-test-plugin

Repository files navigation

Hypertrace Integration Test Plugin

org.hypertrace.integration-test-plugin

CircleCI

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

plugins {
  id("org.hypertrace.integration-test-plugin") version "<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()
}

About

A gradle plugin for writing integration tests

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages