On 10/12/07, Ben Finney [EMAIL PROTECTED] wrote:
I've had good results with Ian Bicking's 'minimock.py'
URL:http://blog.ianbicking.org/minimock.html. It uses the existing
'doctest' functionality for its output, and a minimock.Mock will mock
*everything* (using further Mock instances for
Ben Finney [EMAIL PROTECTED] writes:
I've had good results with Ian Bicking's 'minimock.py'
URL:http://blog.ianbicking.org/minimock.html. It uses the existing
'doctest' functionality for its output [...]
That doesn't make much sense, and it's wrong; it uses 'print' for its
output. That should
On 10/12/07, Ben Finney [EMAIL PROTECTED] wrote:
BlueBird [EMAIL PROTECTED] writes:
This means that the Mock object automatically supports any number of
attributes and methods by any reasonable names; the only setup needed
beyond creating the instance is to seed it with anything you *don't*
(Please don't send me personal copies of messages that are sent to the
forum; I read via the newsgroup, and it's annoying to also get replies
in email when I didn't send an email message.)
Simon Brunning [EMAIL PROTECTED] writes:
On 10/12/07, Ben Finney [EMAIL PROTECTED] wrote:
This means
On Oct 11, 4:26 pm, Simon Brunning [EMAIL PROTECTED] wrote:
On 10/10/07, BlueBird [EMAIL PROTECTED] wrote:
Does anybody know where to find a library like EasyMock for python ? I
searched quickly but could not find anything.
I found python-mocks on sourceforge but form quickly reading
On 10/10/07, BlueBird [EMAIL PROTECTED] wrote:
Does anybody know where to find a library like EasyMock for python ? I
searched quickly but could not find anything.
I found python-mocks on sourceforge but form quickly reading the docs,
it is not an EasyMock style mock. Actually, according
I had to get the hang of jMock-style testing through the usage of the
pmock library. But it seems to work out pretty well.
See some of my test cases at
http://springpython.python-hosting.com/browser/trunk/src/springpython/test/databaseCoreTestCases.py.
That should provide a hearty sample of uses
BlueBird [EMAIL PROTECTED] writes:
Does anybody know where to find a library like EasyMock for python ?
I've had good results with Ian Bicking's 'minimock.py'
URL:http://blog.ianbicking.org/minimock.html. It uses the existing
'doctest' functionality for its output, and a minimock.Mock will mock
Hi,
Does anybody know where to find a library like EasyMock for python ? I
searched quickly but could not find anything.
I found python-mocks on sourceforge but form quickly reading the docs,
it is not an EasyMock style mock. Actually, according to
http://martinfowler.com/articles