tests
abstract fun tests(path: String, testClassName: String? = null, customBaseClass: KClass<*>? = null, arguments: TestArguments = TestArguments())(source)
Generate tests for files in ./$path (from this group's directory) and any sub-directories. Should only be used in leaf groups.
Parameters
path
the path to generate tests from
testClassName
the name of the test class to generate, or null to use the default
customBaseClass
the base class of the test class to generate, or null to use the base class for the test levels configured.
arguments
the arguments to pass to the test generator
abstract fun tests(testClassName: String? = null, customBaseClass: KClass<*>? = null, arguments: TestArguments = TestArguments())(source)
Generate tests for all files in this group's directory and any sub-directories. Should only be used in leaf groups.
Parameters
testClassName
the name of the test class to generate, or null to use the default
customBaseClass
the base class of the test class to generate, or null to use the base class for the test levels configured.
arguments
the arguments to pass to the test generator