functest.core.robotframework module¶
Define classes required to run any Robot suites.
-
class
functest.core.robotframework.
ResultVisitor
¶ Bases:
robot.result.visitor.ResultVisitor
Visitor to get result details.
-
get_data
()¶ Get the details of the result.
-
visit_test
(test)¶
-
-
class
functest.core.robotframework.
RobotFramework
(**kwargs)¶ Bases:
functest.core.testcase.TestCase
RobotFramework runner.
-
dir_results
= '/home/opnfv/functest/results'¶
-
parse_results
()¶ Parse output.xml and get the details in it.
-
run
(**kwargs)¶ Run the RobotFramework suites
- Here are the steps:
- create the output directories if required,
- get the results in output.xml,
- delete temporary files.
- Args:
- kwargs: Arbitrary keyword arguments.
- Returns:
- EX_OK if all suites ran well. EX_RUN_ERROR otherwise.
-