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

Class Trial

source code

util.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.

Nested Classes

Inherited from BuildFactory: buildClass

Instance Methods
 
__init__(self, source, buildpython=['python'], trialpython=[], trial=None, testpath='.', randomly=None, recurse=None, tests=None, useTestCaseNames=False, env=None) source code

Inherited from BuildFactory: addStep, addSteps, newBuild

Inherited from util.ComparableMixin: __cmp__, __hash__, __providedBy__

Class Variables
  trial = 'trial'
  randomly = False
  recurse = False

Inherited from BuildFactory: compare_attrs, useProgress, workdir

Inherited from util.ComparableMixin: __implemented__, __provides__

Method Details

__init__(self, source, buildpython=['python'], trialpython=[], trial=None, testpath='.', randomly=None, recurse=None, tests=None, useTestCaseNames=False, env=None)
(Constructor)

source code 
Overrides: BuildFactory.__init__