Caution

Buildbot no longer supports Python 2.7 on the Buildbot master.

2.5.11.26. TestΒΆ

Note

This step is being migrated to new-style. A new-style equivalent is provided as TestNewStyle. This should be inherited by any custom steps until Buildbot 3.0 is released. Regular uses without inheritance are not affected.

from buildbot.plugins import steps

f.addStep(steps.Test())

This is meant to handle unit tests. The default command is make test, and the warnOnFailure flag is set. The other arguments are identical to ShellCommand.