etr  4.0-pre
Functions | Variables
test_xunit Namespace Reference

Functions

def test_parse_robot ()
 
def test_parse_robot_v4 ()
 

Variables

string robot_xml
 
string robot_xml_v4
 

Function Documentation

◆ test_parse_robot()

def test_xunit.test_parse_robot ( )

◆ test_parse_robot_v4()

def test_xunit.test_parse_robot_v4 ( )

Variable Documentation

◆ robot_xml

string test_xunit.robot_xml
Initial value:
1 = """<?xml version="1.0" encoding="UTF-8"?>
2 <testsuite tests="4" failures="1" name="Fail &amp; Noenv &amp; Suite" errors="0" skip="0">
3  <testcase name="waf configure should succeed even if sources are missing" classname="Fail &amp; Noenv &amp; Suite.Fail" time="2">
4  </testcase>
5  <testcase name="waf build should fail because sources are missing" classname="Fail &amp; Noenv &amp; Suite.Fail" time="0">
6  </testcase>
7  <testcase name="waf distclean should succeed even if build is misconfigured" classname="Suite.Fail" time="0">
8  </testcase>
9  <testcase name="test failure" classname="Suite.Fail" time="12">
10  <failure message="Execution terminated by signal" type="AssertionError"></failure>
11  </testcase>
12 </testsuite>
13 """

◆ robot_xml_v4

string test_xunit.robot_xml_v4
Initial value:
1 = """<?xml version="1.0" encoding="UTF-8"?>
2 <testsuite name="Skip" tests="2" errors="0" failures="0" skipped="1" time="0.035">
3 <testcase classname="Skip" name="skip this test" time="0.002">
4 <skipped message="This is a skipped test" type="SkipExecution"/>
5 </testcase>
6 <testcase classname="Skip" name="success" time="0.001">
7 </testcase>
8 </testsuite>
9 """