Plugin

Test Unit

Plugin ID
com.helixframework.test-unit
Plugin Type
Project

Applies common Helix defaults to all Gradle Test tasks in the current project.

  • Enables JUnit Platform for every Test task.
  • Configures full exception formatting in test logging.
  • Adds required –add-opens JVM arguments for reflective access used by tests and tools.

Usage

build.gradle

Groovy DSL

plugins {
    id 'com.helixframework.test-unit'
}

build.gradle.kts

Kotlin DSL

plugins {
    id("com.helixframework.test-unit")
}

Configuration

This plugin does not create a Helix-specific extension. Configure it through the following properties or helper methods.

  • testLogToStandardStreams: When present, enables standard stream output in Gradle test logging.