EasyMock for python ?

Goldfish gregturn at mindspring.com
Thu Oct 11 16:49:30 EDT 2007


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 for this mock set. It
easily let me throw away the real database and conclude unit testing
much faster.




More information about the Python-list mailing list