Builds :class:~.executionresult.Result objects based on output files.
More...
Builds :class:~.executionresult.Result objects based on output files.
Instead of using this builder directly, it is recommended to use the
:func:`ExecutionResult` factory method.
Definition at line 85 of file resultbuilder.py.
◆ __init__()
| def robot.result.resultbuilder.ExecutionResultBuilder.__init__ |
( |
|
self, |
|
|
|
source, |
|
|
|
include_keywords = True, |
|
|
|
flattened_keywords = None |
|
) |
| |
:param source: Path to the XML output file to build :class:~.executionresult.Result objects from.
:param include_keywords: Boolean controlling whether to include keyword information in the result or not. Keywords are not needed when generating only report. Although the the option name has word "keyword", it controls also including FOR and IF structures. :param flatten_keywords: List of patterns controlling what keywords to flatten. See the documentation of --flattenkeywords option for more details.
Definition at line 98 of file resultbuilder.py.
◆ _flatten_keywords()
| def robot.result.resultbuilder.ExecutionResultBuilder._flatten_keywords |
( |
|
self, |
|
|
|
context, |
|
|
|
flattened |
|
) |
| |
|
private |
◆ _get_matcher()
| def robot.result.resultbuilder.ExecutionResultBuilder._get_matcher |
( |
|
self, |
|
|
|
matcher_class, |
|
|
|
flattened |
|
) |
| |
|
private |
◆ _omit_keywords()
| def robot.result.resultbuilder.ExecutionResultBuilder._omit_keywords |
( |
|
self, |
|
|
|
context |
|
) |
| |
|
private |
◆ _parse()
| def robot.result.resultbuilder.ExecutionResultBuilder._parse |
( |
|
self, |
|
|
|
source, |
|
|
|
start, |
|
|
|
end |
|
) |
| |
|
private |
◆ build()
| def robot.result.resultbuilder.ExecutionResultBuilder.build |
( |
|
self, |
|
|
|
result |
|
) |
| |
◆ _flattened_keywords
| robot.result.resultbuilder.ExecutionResultBuilder._flattened_keywords |
|
private |
◆ _include_keywords
| robot.result.resultbuilder.ExecutionResultBuilder._include_keywords |
|
private |
◆ _source
| robot.result.resultbuilder.ExecutionResultBuilder._source |
|
private |
The documentation for this class was generated from the following file: