using mocking in [some!] tests
Ben Finney
ben+bazaar at benfinney.id.au
Sat May 22 11:30:59 BST 2010
Robert Collins <robert.collins at canonical.com> writes:
> Any thoughts on this, and/or on selection of a mocking tool? I'd say
> Gustavo's mocker, but last I heard he doesn't want it packaged, and I
> don't want to add a copy of $whatever to bzr.
My favourite is ‘python-minimock’, reflected in the fact that I'm the
Debian maintainer for that package, so take that as evidence of whatever
bias you think relevant :-)
For your purposes, it's very small and works entirely with the standard
library.
Debian also has packages for a bunch of other promising Python libraries
for test doubles, ‘python-mock’ and ‘python-dingus’ being ones that look
promising.
--
\ “My interest is in the future, as I am going to spend the rest |
`\ of my life there.” —Charles F. Kettering |
_o__) |
Ben Finney
More information about the bazaar
mailing list