[Buildbot-devel] Writing tests

Greg Ward gerg.ward+buildbot at gmail.com
Mon Dec 3 18:30:32 UTC 2007


I'm trying to write some unit tests for my Blocker build step (see
thread "Difficulties with concurrency and dependencies").  Some things
can be tested in isolation, but there are certain behaviours that (I
think) need a full-blown Buildbot environment to test.  I see other
tests use RunMixin to do some magic that creates this environment, but
I got lost quickly.  Is there a guide to writing BB unit tests
somewhere?  Or do I just have to read the code until I get it?

Thanks --

Greg




More information about the devel mailing list