t.s.trial : module documentation

Part of twisted.scripts View Source

No module docstring
Function loadLocalVariables Accepts a filename and attempts to load the Emacs variable declarations from that file, simulating what Emacs does.
Function getTestModules Undocumented
Function isTestFile Returns true if 'filename' looks like a file containing unit tests. False otherwise. Doesn't care whether filename exists.
Class Options Options to the trial command line tool.
Function run Undocumented
Function _parseLocalVariables Accepts a single line in Emacs local variable declaration format and returns a dict of all the variables {name: value}. Raises ValueError if 'line' is in the wrong format.
Function _reporterAction Undocumented
Class _BasicOptions Basic options shared between trial and its local workers.
Function _initialDebugSetup Undocumented
Function _getSuite Undocumented
Function _getLoader Undocumented
Function _wrappedPdb Wrap an instance of pdb.Pdb with readline support and load any .rcs.
Class _DebuggerNotFound A debugger import failed.
Function _makeRunner Return a trial runner class set up with the parameters extracted from config.
def _parseLocalVariables(line): (source)
Accepts a single line in Emacs local variable declaration format and returns a dict of all the variables {name: value}. Raises ValueError if 'line' is in the wrong format.

See http://www.gnu.org/software/emacs/manual/html_node/File-Variables.html

def loadLocalVariables(filename): (source)
Accepts a filename and attempts to load the Emacs variable declarations from that file, simulating what Emacs does.

See http://www.gnu.org/software/emacs/manual/html_node/File-Variables.html

def getTestModules(filename): (source)
Undocumented
def isTestFile(filename): (source)
Returns true if 'filename' looks like a file containing unit tests. False otherwise. Doesn't care whether filename exists.
def _reporterAction(): (source)
Undocumented
def _initialDebugSetup(config): (source)
Undocumented
def _getSuite(config): (source)
Undocumented
def _getLoader(config): (source)
Undocumented
def _wrappedPdb(): (source)
Wrap an instance of pdb.Pdb with readline support and load any .rcs.
def _makeRunner(config): (source)
Return a trial runner class set up with the parameters extracted from config.
ReturnsA trial runner instance. (type: runner.TrialRunner or DistTrialRunner depending on the configuration.)
def run(): (source)
Undocumented
API Documentation for Twisted, generated by pydoctor at 2012-12-26 12:18:15.