Skip to main content

Module pytest

Module pytest 

Source
Expand description

Pytest JUnit XML results (PSP-10 system 26): test identity preserved.

The parser targets exactly the JUnit shape pytest emits (--junit-xml): <testcase classname=".." name=".."> elements whose body contains <failure or <error. It is a constrained hand-rolled scan, fixture-tested; a general XML dependency buys nothing this grammar needs.

Constants§

PARSER_ID
Parser identity; enters the sensor fingerprint.

Functions§

parse
Parse failed test cases from a JUnit XML report.