Classes | |
| class | TestCaseResult |
| Result of a test case. More... | |
| class | TestSuiteResult |
| Suite of tests. More... | |
Functions | |
| def | parse_ts |
| Parse <testsuite> element. More... | |
| def | parse_tc |
| Parse <testcase> element. More... | |
| def | parse_root |
| Parse xunit root element. More... | |
| def | parse |
| Parse xunit file, or file-like object. More... | |
| def etr.tools.xunit.parse | ( | xunit_file | ) |
Parse xunit file, or file-like object.
| def etr.tools.xunit.parse_root | ( | root | ) |
Parse xunit root element.
Returns a list of TestSuiteResult instances
The xunit xml schema also contains aggregate information, but we skip that bit and process info from the parsed testcases.
| def etr.tools.xunit.parse_tc | ( | elem, | |
| suite | |||
| ) |
Parse <testcase> element.
| def etr.tools.xunit.parse_ts | ( | elem | ) |
Parse <testsuite> element.
1.8.5