mocktest 0.5
Over the holidays, I’ve finally had the time to rewrite my mocking library for python, mocktest.
The original version had what turned out to be a confusing distinction between mock anchdors, mock
wrappers and raw mocks. You should no longer need to know about that distinction when using mocktest
0.5, as it takes a more traditional approach using global methods like when()
and expect()
to
differentiate between setting up the mock object and actually using it.
Please check out the brand-new documentation if you’re looking into a mocking library for python - it works with the standard unittest infrastructure, so it’ll work just fine with your favourite test runner (nosetests, surely….)
Speaking of documentation, this is my first time using sphinx. I am very impressed, and really quite keen to properly document a lot of my other code, when I get the time.