Class JvmTestSuitePlugin

java.lang.Object
org.gradle.api.plugins.JvmTestSuitePlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating public abstract class JvmTestSuitePlugin extends Object implements Plugin<Project>
A Plugin that adds extensions for declaring, compiling and running JvmTestSuites.

This plugin provides conventions for several things:

  • All other JvmTestSuite will use the JUnit Jupiter testing framework unless specified otherwise.
  • A single test suite target is added to each JvmTestSuite.
Since:
7.3
See Also:
  • Field Details

  • Constructor Details

    • JvmTestSuitePlugin

      public JvmTestSuitePlugin()
  • Method Details

    • apply

      public void apply(Project project)
      Description copied from interface: Plugin
      Apply this plugin to the given target object.
      Specified by:
      apply in interface Plugin<Project>
      Parameters:
      project - The target object