Class GebTest
-
- All Implemented Interfaces:
-
kotlin.Comparable,org.gradle.api.Named,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.IConventionAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.reporting.Reporting,org.gradle.api.tasks.VerificationTask,org.gradle.api.tasks.util.PatternFilterable,org.gradle.process.JavaForkOptions,org.gradle.process.ProcessForkOptions,org.gradle.util.Configurable
@DisableCachingByDefault(because = "Runs UI tests against a running server - the outcome depends on external state and must never be taken from the build cache") public abstract class GebTest extends Test
-
-
Field Summary
Fields Modifier and Type Field Description private final ProjectLayoutprojectLayoutprivate final Property<String>containerNetworkprivate final Property<String>baseUrlprivate final Property<String>browserExecutableNameprivate final DirectoryPropertybrowserExecutableDirprivate final Property<String>gebEnvironmentprivate Map<String, Object>environmentprivate final TaskDestroyablesdestroyablesprivate final Loggerloggerprivate final Property<Boolean>failOnNoDiscoveredTestsprivate final Stringpathprivate final Factory<File>temporaryDirFactoryprivate final Optional<String>reasonTaskIsIncompatibleWithConfigurationCacheprivate final TaskDependencyInternallifecycleDependenciesprivate final ConventionMappingconventionMappingprivate BooleanimpliesSubProjectsprivate final TestLoggingContainertestLoggingprivate FileCollectiontestClassesDirsprivate Booleanenabledprivate final TaskStateInternalstateprivate FileworkingDirprivate final TaskIdentity<?>taskIdentityprivate StringminHeapSizeprivate final Set<String>includesprivate final TestFrameworktestFrameworkprivate final DynamicObjectasDynamicObjectprivate IntegermaxParallelForksprivate Stringgroupprivate final Set<String>reasonsNotToTrackStateprivate final Property<JavaLauncher>javaLauncherprivate StringmaxHeapSizeprivate final Property<Boolean>dryRunprivate final TestFrameworkOptionsoptionsprivate Booleandebugprivate final FiletemporaryDirprivate final TaskDependencymustRunAfterprivate LongforkEveryprivate FileCollectionbootstrapClasspathprivate final Projectprojectprivate final TaskOutputsInternaloutputsprivate final FileTreecandidateClassFilesprivate BooleanignoreFailuresprivate final Spec<in TaskInternal>onlyIfprivate final Property<Duration>timeoutprivate List<String>jvmArgsprivate final TaskRequiredServicesrequiredServicesprivate final ConfigurableFileCollectiontestDefinitionDirsprivate final TaskDependencyInternaltaskDependenciesprivate Map<String, Object>systemPropertiesprivate final Set<Object>dependsOnprivate final DirectoryPropertybinaryResultsDirectoryprivate final TestFilterfilterprivate Stringexecutableprivate final JavaDebugOptionsdebugOptionsprivate FileCollectionclasspathprivate BooleanisScanForTestClassesprivate final TestTaskReportsreportsprivate final TaskLocalStatelocalStateprivate final List<InputChangesAwareTaskAction>taskActionsprivate final DirectoryPropertyworkingDirectoryprivate BooleanisEnabledprivate final TaskInputsInternalinputsprivate final Set<String>excludesprivate final TaskDependencyshouldRunAfterprivate final ExtensionContainerextensionsprivate final BooleanisCompatibleWithConfigurationCacheprivate final TaskDependencyfinalizedByprivate final AntBuilderantprivate final List<ResourceLock>sharedResourcesprivate BooleandidWorkprivate final Optional<String>reasonNotToTrackStateprivate BooleanenableAssertionsprivate final ModularitySpecmodularityprivate List<String>allJvmArgsprivate final BooleanisHasCustomActionsprivate List<Action<in Task>>actionsprivate final JavaVersionjavaVersionprivate final Stringnameprivate final Property<TestFramework>testFrameworkPropertyprivate final LoggingManagerloggingprivate StringdefaultCharacterEncodingprivate final PathidentityPathprivate final StandardOutputCapturestandardOutputCaptureprivate BooleanfailFastprivate Stringdescriptionprivate final List<CommandLineArgumentProvider>jvmArgumentProviders
-
Constructor Summary
Constructors Constructor Description GebTest(ProjectLayout projectLayout)
-
Method Summary
Modifier and Type Method Description final ProjectLayoutgetProjectLayout()final Property<String>getContainerNetwork()final Property<String>getBaseUrl()final Property<String>getBrowserExecutableName()final DirectoryPropertygetBrowserExecutableDir()final Property<String>getGebEnvironment()UnitexecuteTests()-
Methods inherited from class org.gradle.api.tasks.testing.Test
filter, getAllJvmArgs, getBootstrapClasspath, getCandidateClassFiles, getClasspath, getDebug, getDebugOptions, getDefaultCharacterEncoding, getDryRun, getEnableAssertions, getEnvironment, getExcludes, getExecutable, getFailFast, getForkEvery, getIncludes, getJavaLauncher, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getMaxHeapSize, getMaxParallelForks, getMinHeapSize, getModularity, getOptions, getSystemProperties, getTestClassesDirs, getTestDefinitionDirs, getTestFramework, getTestFrameworkProperty, getWorkingDir, getWorkingDirectory, isScanForTestClasses, options, options, setAllJvmArgs, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setExecutable, setFailFast, setForkEvery, setJvmArgs, setMaxHeapSize, setMaxParallelForks, setMinHeapSize, setScanForTestClasses, setSystemProperties, setTestClassesDirs, setWorkingDir, testFramework, useJUnit, useJUnit, useJUnit, useJUnitPlatform, useJUnitPlatform, useTestNG, useTestNG, useTestNG -
Methods inherited from class org.gradle.api.DefaultTask
getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, setActions, setDescription, setDidWork, setEnabled, setEnabled, setGroup -
Methods inherited from class org.gradle.api.tasks.testing.AbstractTestTask
addTestListener, addTestMetadataListener, addTestOutputListener, afterSuite, afterTest, beforeSuite, beforeTest, getBinaryResultsDirectory, getFailOnNoDiscoveredTests, getFilter, getIgnoreFailures, getReports, getTestLogging, onOutput, removeTestListener, removeTestMetadataListener, removeTestOutputListener, setIgnoreFailures, setTestNameIncludePatterns, testLogging, testLogging -
Methods inherited from class org.gradle.api.internal.AbstractTask
getAsDynamicObject, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getReasonsNotToTrackState, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, setImpliesSubProjects -
Methods inherited from class org.gradle.api.internal.ConventionTask
conventionMapping, conventionMapping, getConventionMapping -
Methods inherited from class org.gradle.process.ProcessForkOptions
copyTo, environment, environment, executable, workingDir -
Methods inherited from class org.gradle.process.JavaForkOptions
bootstrapClasspath, copyTo, debugOptions, jvmArgs, jvmArgs, systemProperties, systemProperty -
Methods inherited from class org.gradle.api.tasks.util.PatternFilterable
exclude, exclude, exclude, exclude, include, include, include, include, setExcludes, setIncludes -
Methods inherited from class org.gradle.api.reporting.Reporting
reports, reports -
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setDependsOn, setFinalizedBy, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class kotlin.Comparable
compareTo -
Methods inherited from class org.gradle.api.internal.TaskInternal
acceptServiceReferences, appendParallelSafeAction, doNotTrackStateIf, hasTaskActions, prependParallelSafeAction, restoreOnlyIf, restoreTaskActions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getProjectLayout
@Internal() final ProjectLayout getProjectLayout()
-
getContainerNetwork
@Input() final Property<String> getContainerNetwork()
-
getBaseUrl
@Input() final Property<String> getBaseUrl()
-
getBrowserExecutableName
@Input()@Optional() final Property<String> getBrowserExecutableName()
-
getBrowserExecutableDir
@InputDirectory()@Optional()@PathSensitive(value = PathSensitivity.ABSOLUTE) final DirectoryProperty getBrowserExecutableDir()
-
getGebEnvironment
@Input() final Property<String> getGebEnvironment()
-
executeTests
Unit executeTests()
-
-
-
-