Caution
This page documents the latest, unreleased version of Buildbot. For documentation for released versions, see http://docs.buildbot.net/current/.
2.5.25. 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