(parser)
| 79 | class JunitReport(object): |
| 80 | @staticmethod |
| 81 | def register_options(parser): |
| 82 | # type: (ArgumentParser) -> None |
| 83 | parser.add_argument( |
| 84 | "--junit-report", |
| 85 | metavar="PATH", |
| 86 | help="Produce a junit xml test report at the given path.", |
| 87 | ) |
| 88 | parser.add_argument( |
| 89 | "--junit-report-suppress-stdio", |
| 90 | action="store_true", |
| 91 | help="Do not include stdout or stderr from tests in the report.", |
| 92 | ) |
| 93 | parser.add_argument( |
| 94 | "--junit-report-redact", |
| 95 | dest="junit_report_redactions", |
| 96 | action="append", |
| 97 | default=[], |
| 98 | help="Add a string to redact from the junit xml test report.", |
| 99 | ) |
| 100 | |
| 101 | @classmethod |
| 102 | def from_options(cls, options): |
no outgoing calls
no test coverage detected