[Buildbot-commits] [Buildbot] #2235: common testing support for multiple API layers with the same signature

Buildbot nobody at buildbot.net
Sat Mar 10 09:44:02 UTC 2012


#2235: common testing support for multiple API layers with the same signature
------------------------+--------------------
Reporter:  dustin       |      Owner:  dustin
    Type:  enhancement  |     Status:  new
Priority:  major        |  Milestone:  0.8.+
 Version:  0.8.5        |   Keywords:  tests
------------------------+--------------------
 There are a few places -- `addChange` and `addBuildset`, at least -- where
 a whole pile of attributes get passed around from function to function.
 These should all have the same signature and the same default values (and
 should match their mocks).

 This has consistently been a source of pain, and in fact is pretty ugly.

 Let's first try to minimize the ugliness (perhaps by passing dicts?), and
 then build some testing code to help where the ugliness remains.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2235>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list