Inherits object.
Information about a particular test.
Used by _XMLTestResult.
Definition at line 24 of file xmlrunner.py.
◆ __init__()
def __init__ |
( |
|
self, |
|
|
|
test, |
|
|
|
time |
|
) |
| |
◆ create_error()
def create_error |
( |
|
test, |
|
|
|
time, |
|
|
|
error |
|
) |
| |
|
static |
Create a _TestInfo instance for an erroneous test.
Definition at line 51 of file xmlrunner.py.
◆ create_failure()
def create_failure |
( |
|
test, |
|
|
|
time, |
|
|
|
failure |
|
) |
| |
|
static |
Create a _TestInfo instance for a failed test.
Definition at line 44 of file xmlrunner.py.
◆ create_success()
def create_success |
( |
|
test, |
|
|
|
time |
|
) |
| |
|
static |
Create a _TestInfo instance for a successful test.
Definition at line 39 of file xmlrunner.py.
◆ print_report()
def print_report |
( |
|
self, |
|
|
|
stream |
|
) |
| |
Print information about this test case in XML format to the
supplied stream.
Definition at line 57 of file xmlrunner.py.
The documentation for this class was generated from the following file:
- build-2.9.0-doc/stage/lib64/python3.9/site-packages/ost/xmlrunner.py