Browse files

version bump and notes

  • Loading branch information...
1 parent c4e3c94 commit c6cddd4c7b1fbbca38a1d17c913e187456dacc93 @timbertson committed Apr 27, 2009
Showing with 12 additions and 2 deletions.
  1. +11 −1 README.markdown
  2. +1 −1
@@ -1,4 +1,4 @@
-## mocktest (version 0.2)
+## mocktest (version 0.3)
... is a powerful and easy-to-use mocking library, inspired by rspec and
similar in many ways to Michael Foord's popular Mock module.
@@ -19,6 +19,16 @@ Issues / discussion:
Cheese shop entry:
+### Important notes for this version
+In mocktest 0.3, a few key objects and attributes have been renamed:
+ - the `mock_wrapper()` function is now just called `mock()`
+ - to get a raw mock from a mock wrapper, you now use `.raw` instead of `.mock`
+To sum up, where you would previously use `mock_wrapper().mock` you now would
+use `mock().raw`. The new names are more concise and less confusing to new users.
### Where did it come from?
I am a big fan of rspec, but less of a fan of ruby as a whole.
I wanted a to use rspec's powerful `should_receive()` and associated matchers
@@ -4,7 +4,7 @@
- version='0.2.2',
+ version='0.3.0',
description='a mocking and expectation test library for python, inspired by rspec',
author='Tim Cuthbertson',

0 comments on commit c6cddd4

Please sign in to comment.