Class JvmTestSuitePlugin

  • All Implemented Interfaces:
    Plugin<Project>

    @Incubating
    public abstract class JvmTestSuitePlugin
    extends java.lang.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:
    Test Suite plugin reference
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(Project project)
      Apply this plugin to the given target object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_TEST_SUITE_NAME

        public static final java.lang.String DEFAULT_TEST_SUITE_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • JvmTestSuitePlugin

        public JvmTestSuitePlugin()
    • Method Detail

      • 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