Caution
Buildbot no longer supports Python 2.7 on the Buildbot master.
2.5.24. Testing Utilities
This section outlives various utilities that are useful when testing configuration written for Buildbot.
Note
At this moment the APIs outlined here are experimental and subject to change.
TestBuildStepMixin - provides a framework for testing steps
TestReactorMixin - sets up test case with mock time
Command expectations:
ExpectShell - expects
shell
commandExpectStat - expects
stat
commandExpectUploadFile - expects
uploadFile
commandExpectDownloadFile - expects
downloadFile
commandExpectMkdir - expects
mkdir
commandExpectRmdir - expects
rmdir
commandExpectCpdir - expects
cpdir
commandExpectRmfile - expects
rmfile
commandExpectGlob - expects
glob
commandExpectListdir - expects
listdir
command