Package buildbot :: Package process :: Module factory :: Class Trial
[frames | no frames]

Class Trial

ComparableMixin --+    
                  |    
       BuildFactory --+
                      |
                     Trial


Build a python module that uses distutils and trial. Set 'tests' to the module in which the tests can be found, or set useTestCaseNames=True to always have trial figure out which tests to run (based upon which files have been changed).

See docs/factories.xhtml for usage samples. Not all of the Trial BuildStep options are available here, only the most commonly used ones. To get complete access, you will need to create a custom BuildFactory.
Method Summary
  __init__(self, source, buildpython, trialpython, trial, testpath, randomly, recurse, tests, useTestCaseNames, env)
    Inherited from BuildFactory
  addStep(self, steptype, **kwargs)
  newBuild(self, request)
Create a new Build instance.
    Inherited from ComparableMixin
  __cmp__(self, them)
  __hash__(self)

Class Variable Summary
bool randomly = False
bool recurse = False
str trial = 'trial'
    Inherited from BuildFactory
list compare_attrs = ['buildClass', 'steps', 'useProgress']
int useProgress = 1                                                                     
    Inherited from ComparableMixin
Implements __implemented__ = <implementedBy buildbot.util.Comparabl...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...

Class Variable Details

randomly

Type:
bool
Value:
False                                                                  

recurse

Type:
bool
Value:
False                                                                  

trial

Type:
str
Value:
'trial'                                                                

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net