-
- All Implemented Interfaces:
-
kotlin.Comparable,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.process.BaseExecSpec,org.gradle.process.JavaExecSpec,org.gradle.process.JavaForkOptions,org.gradle.process.ProcessForkOptions,org.gradle.util.Configurable
public class RebotTask extends BasicRobotFrameworkTask
Rebot can be used to generate logs and reports in HTML format. It can also produce new XML output files which can be further processed with Rebot or other tools.
Inputs to Rebot are XML output files generated by Robot Framework or by earlier Rebot executions. When more than one input file is given, a new top level test suite containing suites in the given files is created by default. This allows combining multiple outputs together to create higher level reports. An exception is that if --merge is used, results are combined by adding suites and tests in subsequent outputs into the first suite structure. If same test is found from multiple outputs, the last one replaces the earlier ones.
-
-
Constructor Summary
Constructors Constructor Description RebotTask()
-
Method Summary
Modifier and Type Method Description final FileCollectiongetSources()The XML output file generated by a previews robot or rebot run. final UnitsetSources(@InputFiles() @PathSensitive(value = PathSensitivity.ABSOLUTE) FileCollection sources)The XML output file generated by a previews robot or rebot run. final List<String>getRfArgs()Additional properties that will be append to end of the configuration arguments. final UnitsetRfArgs(@Input() List<String> rfArgs)Additional properties that will be append to end of the configuration arguments. final Unitrebot(Action<RebotRobotConfiguration> action)final Unitrebot(Function1<RebotRobotConfiguration, Unit> config)Unitexec()-
Methods inherited from class org.gradle.api.internal.ConventionTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.tasks.JavaExec
conventionMapping, conventionMapping, getConventionMapping -
Methods inherited from class de.qualersoft.robotframework.gradleplugin.tasks.BasicRobotFrameworkTask
args, args, bootstrapClasspath, classpath, copyTo, copyTo, debugOptions, environment, environment, executable, getAllJvmArgs, getArgs, getArgumentProviders, getBootstrapClasspath, getClasspath, getCommandLine, getDebug, getDebugOptions, getDefaultCharacterEncoding, getEnableAssertions, getEnvironment, getErrorOutput, getExecActionFactory, getExecutable, getExecutionResult, getJavaLauncher, getJavaVersion, getJvmArgs, getJvmArgumentProviders, getMain, getMainClass, getMainModule, getMaxHeapSize, getMinHeapSize, getModularity, getObjectFactory, getProviderFactory, getStandardInput, getStandardOutput, getSystemProperties, getWorkingDir, isIgnoreExitValue, jvmArgs, jvmArgs, setAllJvmArgs, setAllJvmArgs, setArgs, setArgs, setArgsString, setBootstrapClasspath, setClasspath, setDebug, setDefaultCharacterEncoding, setEnableAssertions, setEnvironment, setErrorOutput, setExecutable, setExecutable, setIgnoreExitValue, setJvmArgs, setJvmArgs, setMain, setMaxHeapSize, setMinHeapSize, setStandardInput, setStandardOutput, setSystemProperties, setWorkingDir, setWorkingDir, systemProperties, systemProperty, workingDir -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSources
final FileCollection getSources()
The XML output file generated by a previews robot or rebot run.
-
setSources
final Unit setSources(@InputFiles() @PathSensitive(value = PathSensitivity.ABSOLUTE) FileCollection sources)
The XML output file generated by a previews robot or rebot run.
-
getRfArgs
final List<String> getRfArgs()
Additional properties that will be append to end of the configuration arguments. Can be used to 'override' configuration or to provide task specific parameters.
-
setRfArgs
final Unit setRfArgs(@Input() List<String> rfArgs)
Additional properties that will be append to end of the configuration arguments. Can be used to 'override' configuration or to provide task specific parameters.
-
rebot
final Unit rebot(Action<RebotRobotConfiguration> action)
-
rebot
final Unit rebot(Function1<RebotRobotConfiguration, Unit> config)
-
-
-
-