| Trees | Indices | Help |
|
|---|
|
|
object --+
|
ZenDocTestRunner
Extracts doctests from the docstrings of a Zenoss module
and runs them in an environment similar to that of zendmd.
Example usage:
zdtr = ZenDocTestRunner()
zdtr.add_modules("Products.ZenModel.ZenModelBase")
zdtr.run()
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
modules = []
|
|||
conn = None
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Returns a doctest.DocTestSuite for each module in self.modules. Provided for integration with existing unittest framework. |
Run the doctests found in the modules added to this instance. This method sets up the zendmd global variables, creates a test suite for each module that has been added, and runs all suites. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu May 7 11:46:16 2009 | http://epydoc.sourceforge.net |