[Buildbot-commits] [Buildbot] #2234: have a better-defined approach to mocking
Buildbot
nobody at buildbot.net
Sat Mar 10 17:16:04 UTC 2012
#2234: have a better-defined approach to mocking
------------------------+---------------------
Reporter: dustin | Owner: dustin
Type: enhancement | Status: new
Priority: major | Milestone: 0.9.+
Version: 0.8.5 | Resolution:
Keywords: tests |
------------------------+---------------------
Comment (by tom.prince):
- We also have at least one place where we mock out part of twisted (we
mock out out a request in the webhook tests
- the mock library has some support for creating a mock that matches the
signature of a given object or class. This could probably get us the
introspection bit.
- The scheduler tests have various implementations of ``addBuildset*``
that they use to fake out methods on the base class.
--
Ticket URL: <http://trac.buildbot.net/ticket/2234#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list