This PR adds the keyword "Record Property" and also a parser script output_to_xunit.py parser script to parse the of RobotFrameworks output.xml. The parsed xUnit is same as the xUnit output of RF (--xunit xunit.xm and --xunitskipnoncritical), with the addition of <properties> tag to record the properties.
NOTE: The parser script is limited to handle only the current structure of testsuites/testcases. It may produce incorrect xUnit output when used on other output.xml.
To use the keyword, include utils.keyword.txt as a Resource in the .robot file. See dist/tools/output_to_xunit/test/example_testsuite/example_test.robot for example.
This PR adds the keyword "Record Property" and also a parser script
output_to_xunit.py
parser script to parse the of RobotFrameworksoutput.xml
. The parsed xUnit is same as the xUnit output of RF (--xunit xunit.xm
and--xunitskipnoncritical
), with the addition of<properties>
tag to record the properties.NOTE: The parser script is limited to handle only the current structure of testsuites/testcases. It may produce incorrect xUnit output when used on other
output.xml
.To use the keyword, include
utils.keyword.txt
as aResource
in the.robot
file. Seedist/tools/output_to_xunit/test/example_testsuite/example_test.robot
for example.