Buildbot step for py.test.
bb_pytest is a library that adds a Buildbot buildstep that can parse py.test output and generate correct status text at completion of tests.
This test step is derived from the ShellCommand step. So besides the arguments listed below the following steps will also be accpeted and will behave as per the ShellCommand step: workdir, haltOnFailure, flunkOnWarnings, flunkOnFailure, warnOnWarnings, warnOnFailure, want_stdout, want_stderr, timeout
from bb_pytest import step from buildbot.process import factory f = factory.BuildFactory() f.Factory.addStep( Pytest( pytest="py.test", pytestArgs=['-u', '-i'], testpath=None, tests=[""], flunkOnFailure=True))