Package cherrypy :: Package test :: Module test :: Class TestHarness
[hide private]
[frames] | no frames]

Class TestHarness

source code

object --+
         |
        TestHarness
Known Subclasses:

A test harness for the CherryPy framework and CherryPy applications.

Instance Methods [hide private]
 
__init__(self, tests=None, server=None, protocol='HTTP/1.1', port=8000, scheme='http', interactive=True, host='127.0.0.1')
Constructor to populate the TestHarness instance.
source code
 
run(self, conf=None)
Run the test harness.
source code
 
_run(self, conf) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, tests=None, server=None, protocol='HTTP/1.1', port=8000, scheme='http', interactive=True, host='127.0.0.1')
(Constructor)

source code 

Constructor to populate the TestHarness instance.

tests should be a list of module names (strings).

Overrides: object.__init__