Class SystemTestExtension
java.lang.Object
org.creekservice.api.system.test.gradle.plugin.SystemTestExtension
Extension for configuring Creek system tests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddebugging(org.gradle.api.Action<DebugExtension> action) Configure debugging extensionvoidextraArguments(String... args) Set additional args to pass to the test executor.protected final voidfinalize()abstract org.gradle.api.provider.ListProperty<String>abstract org.gradle.api.file.DirectoryPropertyabstract org.gradle.api.provider.Property<String>abstract org.gradle.api.file.DirectoryPropertyabstract org.gradle.api.provider.Property<String>voidverificationTimeout(Duration timeout) Set the verification timeout.
-
Constructor Details
-
SystemTestExtension
@Inject public SystemTestExtension(org.gradle.api.model.ObjectFactory objectFactory) - Parameters:
objectFactory- the @{link ObjectFactory} to use.
-
-
Method Details
-
getTestDirectory
public abstract org.gradle.api.file.DirectoryProperty getTestDirectory()- Returns:
- the directory to search for test packages.
-
getResultDirectory
public abstract org.gradle.api.file.DirectoryProperty getResultDirectory()- Returns:
- the directory under which test result files will be written.
-
getVerificationTimeoutSeconds
- Returns:
- how long to wait for expectations to be met
-
verificationTimeout
Set the verification timeout.The verification timeout is that amount of time to wait for all expectations to be met.
- Parameters:
timeout- the timeout.
-
getSuitePathPattern
- Returns:
- Optional pattern used to limit which test suites to run. A suite's relative path must match the supplied regular expression.
-
getExtraArguments
- Returns:
- list of additional arguments to pass to the test executor
See Executor docs for more info.
-
extraArguments
Set additional args to pass to the test executor.See Executor docs for more info.
- Parameters:
args- the extra args to use when running system tests.
-
getDebugging
- Returns:
- the debugging extension *
-
debugging
Configure debugging extension- Parameters:
action- the action to perform on the debugging ext.
-
finalize
protected final void finalize()
-