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()
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
modules = []
|
|||
conn = None
|
|
Add Zenoss modules to be tested.
|
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.0.1.1812 on Tue Oct 11 12:51:34 2011 | http://epydoc.sourceforge.net |