Fixture that returns a function that can be used to execute pytest and return the parsed ``DomNode`` of the root xml node. The ``family`` parameter is used to configure the ``junit_family`` of the written report. "xunit2" is also automatically validated against the schema.
(pytester: Pytester, schema: xmlschema.XMLSchema)
| 53 | |
| 54 | @pytest.fixture |
| 55 | def run_and_parse(pytester: Pytester, schema: xmlschema.XMLSchema) -> RunAndParse: |
| 56 | """Fixture that returns a function that can be used to execute pytest and |
| 57 | return the parsed ``DomNode`` of the root xml node. |
| 58 | |
| 59 | The ``family`` parameter is used to configure the ``junit_family`` of the written report. |
| 60 | "xunit2" is also automatically validated against the schema. |
| 61 | """ |
| 62 | return RunAndParse(pytester, schema) |
| 63 | |
| 64 | |
| 65 | def assert_attr(node, **kwargs): |
no test coverage detected