[Tutor] Unit testing

Jorge Godoy godoy at ieee.org
Mon Jun 26 20:12:17 CEST 2006


"Tino Dai" <tinoloc at gmail.com> writes:

>       How do I simulate my queues and other sources of data. In Java, there
> is a program called JMock that you can use to simulate that. Is there
> anything like that in Python or do I roll my own and create the appropriate
> queues with some data in the unit test?

>From JMock's page you get to mockobject's page and from there there's a link
to Python-mock.

http://sourceforge.net/projects/python-mock

I hope it helps.


-- 
Jorge Godoy      <godoy at ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.



More information about the Tutor mailing list