junit#
- junit_reporter() CanaryReporter#
- class JunitReporter#
Bases:
CanaryReporter- type: str = 'junit'#
- description: str = 'JUnit reporter'#
- default_output: str = 'junit.xml'#
- create(**kwargs: Any) None#
- get_root_name() str#
- class JunitDocument#
Bases:
Document- create_element(tagname: str) Element#
- create_cdata_node(text: str) Text#
- create_testsuite_element(jobs: list[Job], tagname: str = 'testsuite', **attrs: str) Element#
Create a testcase element with the following structure
<testsuite tests="..." errors="..." skipped="..." failures="..." time="..." timestamp="..."> </testsuite>
- doctype#
- childNodes#
- cleanup_text(text: str, escape: bool = False) str#