xmlrunner::XMLTestRunner Class Reference

List of all members.

Public Member Functions

def __init__
def run

Properties

 path

Detailed Description

A test runner that stores results in XML format compatible with JUnit.

XMLTestRunner(stream=None) -> XML test runner

The XML file is written to the supplied stream. If stream is None, the
results are stored in a file called TEST-<module>.<class>.xml in the
current working directory (if not overridden with the path property),
where <module> and <class> are the module and class name of the test class.

Definition at line 181 of file xmlrunner.py.


Member Function Documentation

def xmlrunner::XMLTestRunner::__init__ (   self,
  stream = None 
)

Definition at line 194 of file xmlrunner.py.

def xmlrunner::XMLTestRunner::run (   self,
  test 
)
Run the given test case or test suite.

Definition at line 198 of file xmlrunner.py.


Property Documentation

xmlrunner::XMLTestRunner::path [static]
Initial value:
property(lambda self: self._path, _set_path, None,
            """The path where the XML files are stored.This property is ignored when the XML file is written to a filestream.""")

Definition at line 242 of file xmlrunner.py.


The documentation for this class was generated from the following file:
Generated on Thu May 30 16:07:33 2013 for GME by  doxygen 1.6.3