_TestInfo Class Reference

Public Member Functions

def __init__
def create_success
def create_failure
def create_error
def print_report

Detailed Description

Information about a particular test.

Used by _XMLTestResult.

Definition at line 24 of file xmlrunner.py.


Member Function Documentation

def __init__ (   self,
  test,
  time 
)

Definition at line 32 of file xmlrunner.py.

def create_error (   test,
  time,
  error 
)
Create a _TestInfo instance for an erroneous test.

Definition at line 51 of file xmlrunner.py.

def create_failure (   test,
  time,
  failure 
)
Create a _TestInfo instance for a failed test.

Definition at line 44 of file xmlrunner.py.

def create_success (   test,
  time 
)
Create a _TestInfo instance for a successful test.

Definition at line 39 of file xmlrunner.py.

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:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 1 Mar 2018 for OpenStructure by  doxygen 1.6.1