[TIP] Which mock object framework should I use?
constant.beta at gmail.com
Sat Nov 17 13:17:32 PST 2007
On Nov 17, 2007 10:00 PM, Grig Gheorghiu <grig at gheorghiu.net> wrote:
> I personally have used python-mock
> <http://python-mock.sourceforge.net/> and I was fairly happy with it. I
> think what the Python testing community needs are more real-life
> examples of how they used mock testing techniques. My opinion is that
> the techniques are more important than the tools.
Can't agree with you more, Grig.
Martin, I used python-mock for the Cheesecake service project as well,
and although it needed some tweaks here and there it basically did the
job. If you're interested in details, here:
are my python-mock helpers (returning, args_are, check_calls_count and
others) along with test examples.
More information about the testing-in-python