-
public class RebotRobotConfiguration extends BotRobotConfiguration
Configuration for rebot task
-
-
Field Summary
Fields Modifier and Type Field Description private final Property<Boolean>mergeprivate final Property<Boolean>processEmptySuiteprivate List<String>expandKeywordsprivate Property<String>startTimeprivate Property<String>endTimeprivate List<String>perRobotModifierprivate Property<Boolean>rpaprivate Property<String>docprivate Map<String, String>metaDataprivate List<String>setTagsprivate List<String>testprivate List<String>taskprivate List<String>suiteprivate List<String>includeprivate List<String>excludeprivate List<String>criticalprivate List<String>nonCriticalprivate final DirectoryPropertyoutputDirprivate Fileoutputprivate Filelogprivate Filereportprivate FilexUnitprivate Property<Boolean>xUnitSkipNonCriticalprivate Property<Boolean>timestampOutputsprivate Property<Boolean>splitprivate Property<String>logTitleprivate Property<String>reportTitleprivate Property<String>reportBackgroundprivate Property<String>logLevelprivate Property<Integer>suiteStatLevelprivate List<String>tagStatIncludeprivate List<String>tagStatExcludeprivate Map<String, String>tagStatCombineprivate Map<String, String>tagDocprivate List<String>tagStatLinkprivate List<String>removeKeywordsprivate List<String>flattenKeywordsprivate Property<Boolean>noStatusSrcprivate Property<String>consoleColorsprivate List<String>argumentFilesprivate final Property<String>nameprivate ConfigurableFileCollectionadditionalPythonPaths
-
Constructor Summary
Constructors Constructor Description RebotRobotConfiguration(Project project)
-
Method Summary
Modifier and Type Method Description final Property<Boolean>getMerge()When combining results, merge outputs together instead of putting them under a new top level suite. final Property<Boolean>getProcessEmptySuite()Processes output also if the top level suite is empty. final List<String>getExpandKeywords()Syntax: name:<pattern>|tag:<pattern>Matching keywords will be automatically expanded in the log file. final UnitsetExpandKeywords(List<String> expandKeywords)Syntax: name:<pattern>|tag:<pattern>Matching keywords will be automatically expanded in the log file. final Property<String>getStartTime()Set execution start time. final UnitsetStartTime(Property<String> startTime)Set execution start time. final Property<String>getEndTime()Same as startTime but for end time. final UnitsetEndTime(Property<String> endTime)Same as startTime but for end time. final List<String>getPerRobotModifier()Class to programmatically modify the result model before creating outputs. final UnitsetPerRobotModifier(List<String> perRobotModifier)Class to programmatically modify the result model before creating outputs. final Property<Boolean>getRpa()Turn on the generic automation mode (aka Robot Process Automation). final UnitsetRpa(Property<Boolean> rpa)Turn on the generic automation mode (aka Robot Process Automation). final Property<String>getDoc()Set the documentation of the top level suite. final UnitsetDoc(Property<String> doc)Set the documentation of the top level suite. final Map<String, String>getMetaData()Set metadata of the top level suite. final UnitsetMetaData(Map<String, String> metaData)Set metadata of the top level suite. final List<String>getSetTags()Sets given tag(s) to all tests. final UnitsetSetTags(List<String> setTags)Sets given tag(s) to all tests. final List<String>getTest()Select tests by name or by long name containing also parent suite name like Parent.Test.final UnitsetTest(List<String> test)Select tests by name or by long name containing also parent suite name like Parent.Test.final List<String>getTask()Alias to test. final UnitsetTask(List<String> task)Alias to test. final List<String>getSuite()Select suites by name. final UnitsetSuite(List<String> suite)Select suites by name. final List<String>getInclude()Select tests by tag. final UnitsetInclude(List<String> include)Select tests by tag. final List<String>getExclude()Specify tests not to be included by tag. final UnitsetExclude(List<String> exclude)Specify tests not to be included by tag. final List<String>getCritical()Opposite of nonCritical final UnitsetCritical(@Deprecated(message = Since RF 4.0) List<String> critical)Opposite of nonCritical final List<String>getNonCritical()Alias for RunRobotConfiguration.skipOnFailure. final UnitsetNonCritical(@Deprecated(message = Since RF 4.0) List<String> nonCritical)Alias for RunRobotConfiguration.skipOnFailure. final DirectoryPropertygetOutputDir()Where to create output files. final FilegetOutput()XML output file. final UnitsetOutput(File output)XML output file. final FilegetLog()HTML log file. final UnitsetLog(File log)HTML log file. final FilegetReport()HTML report file. final UnitsetReport(File report)HTML report file. final FilegetXUnit()xUnit compatible result file. final UnitsetXUnit(File xUnit)xUnit compatible result file. final Property<Boolean>getXUnitSkipNonCritical()Has no effect anymore. final UnitsetXUnitSkipNonCritical(@Deprecated(message = Since RF 4.0) Property<Boolean> xUnitSkipNonCritical)Has no effect anymore. final Property<Boolean>getTimestampOutputs()When this option is used, timestamp in a format YYYYMMDD-hhmmssis added to all generated output files between their basename and extension.final UnitsetTimestampOutputs(Property<Boolean> timestampOutputs)When this option is used, timestamp in a format YYYYMMDD-hhmmssis added to all generated output files between their basename and extension.final Property<Boolean>getSplit()Split the log file into smaller pieces that open in browsers transparently. final UnitsetSplit(Property<Boolean> split)Split the log file into smaller pieces that open in browsers transparently. final Property<String>getLogTitle()Title for the generated log file. final UnitsetLogTitle(Property<String> logTitle)Title for the generated log file. final Property<String>getReportTitle()Title for the generated report file. final UnitsetReportTitle(Property<String> reportTitle)Title for the generated report file. final Property<String>getReportBackground()Background colors to use in the report file. final UnitsetReportBackground(Property<String> reportBackground)Background colors to use in the report file. final Property<String>getLogLevel()The threshold level for logging. final UnitsetLogLevel(Property<String> logLevel)The threshold level for logging. final Property<Integer>getSuiteStatLevel()How many levels to show in Statistics by Suitein log and report.final UnitsetSuiteStatLevel(Property<Integer> suiteStatLevel)How many levels to show in Statistics by Suitein log and report.final List<String>getTagStatInclude()Include only matching tags in Statistics by Tagin log and report.final UnitsetTagStatInclude(List<String> tagStatInclude)Include only matching tags in Statistics by Tagin log and report.final List<String>getTagStatExclude()Exclude matching tags from Statistics by Tag.final UnitsetTagStatExclude(List<String> tagStatExclude)Exclude matching tags from Statistics by Tag.final Map<String, String>getTagStatCombine()Create combined statistics based on tags. final UnitsetTagStatCombine(Map<String, String> tagStatCombine)Create combined statistics based on tags. final Map<String, String>getTagDoc()Add documentation to tags matching the given pattern. final UnitsetTagDoc(Map<String, String> tagDoc)Add documentation to tags matching the given pattern. final List<String>getTagStatLink()Add external links into Statistics by Tag.final UnitsetTagStatLink(List<String> tagStatLink)Add external links into Statistics by Tag.final List<String>getRemoveKeywords()Remove keywords and their messages altogether. final UnitsetRemoveKeywords(List<String> removeKeywords)Remove keywords and their messages altogether. final List<String>getFlattenKeywords()Flatten keywords and their messages altogether. final UnitsetFlattenKeywords(List<String> flattenKeywords)Flatten keywords and their messages altogether. final Property<Boolean>getNoStatusSrc()Sets the return code to zero regardless of failures in test cases. final UnitsetNoStatusSrc(Property<Boolean> noStatusSrc)Sets the return code to zero regardless of failures in test cases. final Property<String>getConsoleColors()Use colors on console output or not. final UnitsetConsoleColors(Property<String> consoleColors)Use colors on console output or not. final List<String>getArgumentFiles()Text file to read more arguments from. final UnitsetArgumentFiles(List<String> argumentFiles)Text file to read more arguments from. final Property<String>getName()Sets the name of the documented library or resource. final ConfigurableFileCollectiongetAdditionalPythonPaths()Additional locations where to search for libraries and resources. final UnitsetAdditionalPythonPaths(ConfigurableFileCollection additionalPythonPaths)Additional locations where to search for libraries and resources. Array<String>generateArguments()-
-
Method Detail
-
getMerge
final Property<Boolean> getMerge()
When combining results, merge outputs together instead of putting them under a new top level suite. Default-value=
false.
-
getProcessEmptySuite
final Property<Boolean> getProcessEmptySuite()
-
getExpandKeywords
final List<String> getExpandKeywords()
Syntax: name:<pattern>|tag:<pattern>
Matching keywords will be automatically expanded in the log file. Matching against keyword name or tags work using same rules as with removeKeywords.
Examples:
expandkeywords = listOf("name:BuiltIn.Log") expandkeywords = listOf("tag:expand")
-
setExpandKeywords
final Unit setExpandKeywords(List<String> expandKeywords)
Syntax: name:<pattern>|tag:<pattern>
Matching keywords will be automatically expanded in the log file. Matching against keyword name or tags work using same rules as with removeKeywords.
Examples:
expandkeywords = listOf("name:BuiltIn.Log") expandkeywords = listOf("tag:expand")
-
getStartTime
final Property<String> getStartTime()
Set execution start time. Timestamp must be given in format
2007-10-01 15:12:42.268where all separators are optional (e.g.20071001151242268is ok too) and parts from milliseconds to hours can be omitted if they are zero (e.g.2007-10-01). This can be used to override start time of a single suite or to set start time for a combined suite, which would otherwise beN/A.
-
setStartTime
final Unit setStartTime(Property<String> startTime)
Set execution start time. Timestamp must be given in format
2007-10-01 15:12:42.268where all separators are optional (e.g.20071001151242268is ok too) and parts from milliseconds to hours can be omitted if they are zero (e.g.2007-10-01). This can be used to override start time of a single suite or to set start time for a combined suite, which would otherwise beN/A.
-
getEndTime
final Property<String> getEndTime()
Same as startTime but for end time. If both options are used, elapsed time of the suite is calculated based on them. For combined suites, it is otherwise calculated by adding elapsed times of the combined suites together.
-
setEndTime
final Unit setEndTime(Property<String> endTime)
Same as startTime but for end time. If both options are used, elapsed time of the suite is calculated based on them. For combined suites, it is otherwise calculated by adding elapsed times of the combined suites together.
-
getPerRobotModifier
final List<String> getPerRobotModifier()
Class to programmatically modify the result model before creating outputs.
-
setPerRobotModifier
final Unit setPerRobotModifier(List<String> perRobotModifier)
Class to programmatically modify the result model before creating outputs.
-
getRpa
final Property<Boolean> getRpa()
Turn on the generic automation mode (aka Robot Process Automation). Mainly affects terminology so that "test" is replaced with "task" in logs and reports. By default the mode is got from the processed output files.
-
setRpa
final Unit setRpa(Property<Boolean> rpa)
Turn on the generic automation mode (aka Robot Process Automation). Mainly affects terminology so that "test" is replaced with "task" in logs and reports. By default the mode is got from the processed output files.
-
getDoc
final Property<String> getDoc()
Set the documentation of the top level suite. Simple formatting is supported (e.g. *bold*). If the documentation contains spaces, it must be quoted.
doc = "Very *good* example"
-
setDoc
final Unit setDoc(Property<String> doc)
Set the documentation of the top level suite. Simple formatting is supported (e.g. *bold*). If the documentation contains spaces, it must be quoted.
doc = "Very *good* example"
-
getMetaData
final Map<String, String> getMetaData()
Set metadata of the top level suite. Value can contain formatting similarly as doc.
metaData = mapOf("Version" to "1.2")
-
setMetaData
final Unit setMetaData(Map<String, String> metaData)
Set metadata of the top level suite. Value can contain formatting similarly as doc.
metaData = mapOf("Version" to "1.2")
-
getSetTags
final List<String> getSetTags()
Sets given tag(s) to all tests.
-
setSetTags
final Unit setSetTags(List<String> setTags)
Sets given tag(s) to all tests.
-
getTest
final List<String> getTest()
Select tests by name or by long name containing also parent suite name like
Parent.Test. Name is case and space insensitive and it can also be a simple pattern where*matches anything,?matches any single character, and[chars]matches one character in brackets.
-
setTest
final Unit setTest(List<String> test)
Select tests by name or by long name containing also parent suite name like
Parent.Test. Name is case and space insensitive and it can also be a simple pattern where*matches anything,?matches any single character, and[chars]matches one character in brackets.
-
getSuite
final List<String> getSuite()
Select suites by name. When this option is used with test, include or exclude, only tests in matching suites and also matching other filtering criteria are selected. Name can be a simple pattern similarly as with test and it can contain parent name separated with a dot. For example,
suite = "X.Y"selects suiteYonly if its parent isX.
-
setSuite
final Unit setSuite(List<String> suite)
Select suites by name. When this option is used with test, include or exclude, only tests in matching suites and also matching other filtering criteria are selected. Name can be a simple pattern similarly as with test and it can contain parent name separated with a dot. For example,
suite = "X.Y"selects suiteYonly if its parent isX.
-
getInclude
final List<String> getInclude()
Select tests by tag. Similarly as name with test, tag is case and space insensitive and it is possible to use patterns with
*,?and[]as wildcards. Tags and patterns can also be combined together withAND,OR, andNOToperators.include = listOf("foo", "bar*") include = "fooANDbar*"
-
setInclude
final Unit setInclude(List<String> include)
Select tests by tag. Similarly as name with test, tag is case and space insensitive and it is possible to use patterns with
*,?and[]as wildcards. Tags and patterns can also be combined together withAND,OR, andNOToperators.include = listOf("foo", "bar*") include = "fooANDbar*"
-
getExclude
final List<String> getExclude()
-
setExclude
final Unit setExclude(List<String> exclude)
-
getCritical
final List<String> getCritical()
Opposite of nonCritical
-
setCritical
final Unit setCritical(@Deprecated(message = Since RF 4.0) List<String> critical)
Opposite of nonCritical
-
getNonCritical
final List<String> getNonCritical()
Alias for RunRobotConfiguration.skipOnFailure.
-
setNonCritical
final Unit setNonCritical(@Deprecated(message = Since RF 4.0) List<String> nonCritical)
Alias for RunRobotConfiguration.skipOnFailure.
-
getOutputDir
final DirectoryProperty getOutputDir()
Where to create output files. The given path is considered relative to command execution directory unless it is absolute.
Default:
${project.buildDir}/reports/robotframework.
-
getLog
final File getLog()
HTML log file. Can be disabled by passing
null.Default:
log.htmllog = "mylog.html" log = null
-
setLog
final Unit setLog(File log)
HTML log file. Can be disabled by passing
null.Default:
log.htmllog = "mylog.html" log = null
-
getReport
final File getReport()
HTML report file. Can be disabled by passing
nullsimilarly as log.Default:
report.html
-
setReport
final Unit setReport(File report)
HTML report file. Can be disabled by passing
nullsimilarly as log.Default:
report.html
-
getXUnit
final File getXUnit()
xUnit compatible result file. Not created unless this option is specified. Will be stored under outputDir. Default:
robot-xunit-results.xml
-
setXUnit
final Unit setXUnit(File xUnit)
xUnit compatible result file. Not created unless this option is specified. Will be stored under outputDir. Default:
robot-xunit-results.xml
-
getXUnitSkipNonCritical
final Property<Boolean> getXUnitSkipNonCritical()
Has no effect anymore.
Mark non-critical tests in xUnit output as skipped.
Default: disabled (
false)
-
setXUnitSkipNonCritical
final Unit setXUnitSkipNonCritical(@Deprecated(message = Since RF 4.0) Property<Boolean> xUnitSkipNonCritical)
Has no effect anymore.
Mark non-critical tests in xUnit output as skipped.
Default: disabled (
false)
-
getTimestampOutputs
final Property<Boolean> getTimestampOutputs()
When this option is used, timestamp in a format
YYYYMMDD-hhmmssis added to all generated output files between their basename and extension.timestampOutputs = true output = "output.xml" report = "report.html" log = nullcreates files like
output-20070503-154410.xmlandreport-20070503-154410.html.Default:
false
-
setTimestampOutputs
final Unit setTimestampOutputs(Property<Boolean> timestampOutputs)
When this option is used, timestamp in a format
YYYYMMDD-hhmmssis added to all generated output files between their basename and extension.timestampOutputs = true output = "output.xml" report = "report.html" log = nullcreates files like
output-20070503-154410.xmlandreport-20070503-154410.html.Default:
false
-
getSplit
final Property<Boolean> getSplit()
Split the log file into smaller pieces that open in browsers transparently.
Default:
false
-
setSplit
final Unit setSplit(Property<Boolean> split)
Split the log file into smaller pieces that open in browsers transparently.
Default:
false
-
getLogTitle
final Property<String> getLogTitle()
Title for the generated log file. The default title is
<SuiteName> Test Log.
-
setLogTitle
final Unit setLogTitle(Property<String> logTitle)
Title for the generated log file. The default title is
<SuiteName> Test Log.
-
getReportTitle
final Property<String> getReportTitle()
Title for the generated report file. The default title is
<SuiteName> Test Report.
-
setReportTitle
final Unit setReportTitle(Property<String> reportTitle)
Title for the generated report file. The default title is
<SuiteName> Test Report.
-
getReportBackground
final Property<String> getReportBackground()
Background colors to use in the report file. Order is
passed:failed:skipped. Both color names and codes work.skippedcan be omitted.reportBackground = "green:red:yellow" reportBackground = "#00E:#E00"
-
setReportBackground
final Unit setReportBackground(Property<String> reportBackground)
Background colors to use in the report file. Order is
passed:failed:skipped. Both color names and codes work.skippedcan be omitted.reportBackground = "green:red:yellow" reportBackground = "#00E:#E00"
-
getLogLevel
final Property<String> getLogLevel()
The threshold level for logging. Threshold for selecting messages. Available levels: TRACE (default), DEBUG, INFO, WARN, NONE (no msgs). Use syntax
LOGLEVEL:DEFAULTto define the default visible log level in log files.logLevel = "DEBUG" logLevel = "DEBUG:INFO"
-
setLogLevel
final Unit setLogLevel(Property<String> logLevel)
The threshold level for logging. Threshold for selecting messages. Available levels: TRACE (default), DEBUG, INFO, WARN, NONE (no msgs). Use syntax
LOGLEVEL:DEFAULTto define the default visible log level in log files.logLevel = "DEBUG" logLevel = "DEBUG:INFO"
-
getSuiteStatLevel
final Property<Integer> getSuiteStatLevel()
How many levels to show in
Statistics by Suitein log and report. By default all suite levels are shown.suiteStatLevel = 3
-
setSuiteStatLevel
final Unit setSuiteStatLevel(Property<Integer> suiteStatLevel)
How many levels to show in
Statistics by Suitein log and report. By default all suite levels are shown.suiteStatLevel = 3
-
getTagStatInclude
final List<String> getTagStatInclude()
Include only matching tags in
Statistics by Tagin log and report. By default all tags are shown. Given tag can be a pattern like with include.
-
setTagStatInclude
final Unit setTagStatInclude(List<String> tagStatInclude)
Include only matching tags in
Statistics by Tagin log and report. By default all tags are shown. Given tag can be a pattern like with include.
-
getTagStatExclude
final List<String> getTagStatExclude()
Exclude matching tags from
Statistics by Tag. This option can be used with tagStatInclude similarly as exclude is used with include.
-
setTagStatExclude
final Unit setTagStatExclude(List<String> tagStatExclude)
Exclude matching tags from
Statistics by Tag. This option can be used with tagStatInclude similarly as exclude is used with include.
-
getTagStatCombine
final Map<String, String> getTagStatCombine()
Create combined statistics based on tags. These statistics are added into
Statistics by Tag. If the optional name is not given, name of the combined tag is got from the specified tags. Tags are matched using the same rules as with include.tagstatcombine = mapOf("requirement-*" to null) tagstatcombine = mapOf("tag1ANDtag2" to "My_name")
-
setTagStatCombine
final Unit setTagStatCombine(Map<String, String> tagStatCombine)
Create combined statistics based on tags. These statistics are added into
Statistics by Tag. If the optional name is not given, name of the combined tag is got from the specified tags. Tags are matched using the same rules as with include.tagstatcombine = mapOf("requirement-*" to null) tagstatcombine = mapOf("tag1ANDtag2" to "My_name")
-
getTagDoc
final Map<String, String> getTagDoc()
Add documentation to tags matching the given pattern. Documentation is shown in
Test Detailsand also as a tooltip inStatistics by Tag. Pattern can use*,?and[]as wildcards like --test. Documentation can contain formatting like --doc.tagDoc = mapOf("mytag" to "Example") tagDoc = mapOf("owner-*" to "Original author")
-
setTagDoc
final Unit setTagDoc(Map<String, String> tagDoc)
Add documentation to tags matching the given pattern. Documentation is shown in
Test Detailsand also as a tooltip inStatistics by Tag. Pattern can use*,?and[]as wildcards like --test. Documentation can contain formatting like --doc.tagDoc = mapOf("mytag" to "Example") tagDoc = mapOf("owner-*" to "Original author")
-
getTagStatLink
final List<String> getTagStatLink()
Add external links into
Statistics by Tag. Pattern can use*,?and[]as wildcards like test. Characters matching to*and?wildcards can be used in link and title with syntax %N, where N is index of the match (starting from 1).tagStatLink = listOf("mytag:http://my.domain:Title") tagStatLink = listOf("bug-*:http://url/id=%1:Issue Tracker")
-
setTagStatLink
final Unit setTagStatLink(List<String> tagStatLink)
Add external links into
Statistics by Tag. Pattern can use*,?and[]as wildcards like test. Characters matching to*and?wildcards can be used in link and title with syntax %N, where N is index of the match (starting from 1).tagStatLink = listOf("mytag:http://my.domain:Title") tagStatLink = listOf("bug-*:http://url/id=%1:Issue Tracker")
-
getRemoveKeywords
final List<String> getRemoveKeywords()
Remove keywords and their messages altogether. Instructions at http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#removing-keywords.
ALL- Remove data from all keywords unconditionally.PASSED-Remove keyword data from passed test cases. In most cases, log files created using this option contain enough information to investigate possible failures.FOR- Remove all passed iterations from for loops except the last one.WUKS- Remove all failing keywords inside BuiltIn keyword 'Wait Until Keyword Succeeds' except the last one.NAME:<pattern>- Remove data from all keywords matching the given pattern regardless the keyword status.TAG:<pattern>- Remove data from keywords with tags that match the given pattern.
The
<pattern>is case, space, and underscore insensitive, and it supports simple patterns with * and ? as wildcards.
-
setRemoveKeywords
final Unit setRemoveKeywords(List<String> removeKeywords)
Remove keywords and their messages altogether. Instructions at http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#removing-keywords.
ALL- Remove data from all keywords unconditionally.PASSED-Remove keyword data from passed test cases. In most cases, log files created using this option contain enough information to investigate possible failures.FOR- Remove all passed iterations from for loops except the last one.WUKS- Remove all failing keywords inside BuiltIn keyword 'Wait Until Keyword Succeeds' except the last one.NAME:<pattern>- Remove data from all keywords matching the given pattern regardless the keyword status.TAG:<pattern>- Remove data from keywords with tags that match the given pattern.
The
<pattern>is case, space, and underscore insensitive, and it supports simple patterns with * and ? as wildcards.
-
getFlattenKeywords
final List<String> getFlattenKeywords()
Flatten keywords and their messages altogether. Instructions at http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#flattening-keywords.
FOR- Flatten for loops fully.FORITEM- Flatten individual for loop iterations.NAME:<pattern>- Flatten keywords matching the given pattern.TAG:<pattern>- Flatten keywords with tags matching the given pattern.
The
<pattern>is case, space, and underscore insensitive, and it supports simple patterns with * and ? as wildcards.
-
setFlattenKeywords
final Unit setFlattenKeywords(List<String> flattenKeywords)
Flatten keywords and their messages altogether. Instructions at http://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#flattening-keywords.
FOR- Flatten for loops fully.FORITEM- Flatten individual for loop iterations.NAME:<pattern>- Flatten keywords matching the given pattern.TAG:<pattern>- Flatten keywords with tags matching the given pattern.
The
<pattern>is case, space, and underscore insensitive, and it supports simple patterns with * and ? as wildcards.
-
getNoStatusSrc
final Property<Boolean> getNoStatusSrc()
Sets the return code to zero regardless of failures in test cases. Error codes are returned normally.
-
setNoStatusSrc
final Unit setNoStatusSrc(Property<Boolean> noStatusSrc)
Sets the return code to zero regardless of failures in test cases. Error codes are returned normally.
-
getConsoleColors
final Property<String> getConsoleColors()
Use colors on console output or not.
auto: use colors when output not redirected (default)on: always use colorsansi: likeonbut use ANSI colors also on Windowsoff: disable colors altogether Note that colors do not work with Jython on Windows.
-
setConsoleColors
final Unit setConsoleColors(Property<String> consoleColors)
Use colors on console output or not.
auto: use colors when output not redirected (default)on: always use colorsansi: likeonbut use ANSI colors also on Windowsoff: disable colors altogether Note that colors do not work with Jython on Windows.
-
getArgumentFiles
final List<String> getArgumentFiles()
Text file to read more arguments from. Use special path
STDINto read contents from the standard input stream. File can have both options and input files or directories, one per line. Contents do not need to be escaped but spaces in the beginning and end of lines are removed. Empty lines and lines starting with a hash character (#) are ignored.--include regression --name Regression Tests # This is a comment line my_tests.robot path/to/test/directory/argumentFile = "argfile.txt" argumentFile = "STDIN"
-
setArgumentFiles
final Unit setArgumentFiles(List<String> argumentFiles)
Text file to read more arguments from. Use special path
STDINto read contents from the standard input stream. File can have both options and input files or directories, one per line. Contents do not need to be escaped but spaces in the beginning and end of lines are removed. Empty lines and lines starting with a hash character (#) are ignored.--include regression --name Regression Tests # This is a comment line my_tests.robot path/to/test/directory/argumentFile = "argfile.txt" argumentFile = "STDIN"
-
getAdditionalPythonPaths
final ConfigurableFileCollection getAdditionalPythonPaths()
Additional locations where to search for libraries and resources. e.g. src/main/java/com/test/
-
setAdditionalPythonPaths
final Unit setAdditionalPythonPaths(ConfigurableFileCollection additionalPythonPaths)
Additional locations where to search for libraries and resources. e.g. src/main/java/com/test/
-
generateArguments
Array<String> generateArguments()
-
-
-
-