- Release 1.9.2
- async() matcher is available as async_mode() for python3.7 and newer
- Release 1.8.2
- Bug fixed: https://bitbucket.org/DavidVilla/python-doublex/issue/22
- returns_input() may return several parameters, fixes
- delegates() accepts dictionaries.
- method_returning() and method_raising() are now spies: https://bitbucket.org/DavidVilla/python-doublex/issue/21
- Release 1.8.1
- PyHamcrest must be a requirement. Thanks to Javier Santacruz and Guillermo Pascual https://bitbucket.org/DavidVilla/python-doublex/pull-request/7 https://bitbucket.org/DavidVilla/python-doublex/issue/18
- Release 1.8a
- [NEW] inline stubbing and mocking functions: when, expect_call (merge with feature-inline-stubbing)
- [NEW] Testing Python 2.6, 2.7, 3.2 and 3.3 using tox
- [NEW] Add AttributeFactory type: wrapper_descriptor for builtin method (such as list.__setitem__)
- [NEW] Double methods copy original __name__ attribute
- [NEW] Mock support for properties
- Release 1.7.2
- [NEW] support for varargs (*args, **kargs) methods
- [NEW] tracer for doubles, methods and properties
- Release 1.6.8
- [NEW] with_some_args matcher
- [NEW] set_default_behavior() module function to define behavior for non stubbed methods.
- ANY_ARG is not allowed as keyword value
- ANY_ARG must be the last positional argument value
- Release 1.6.6
- [FIXED] stub/empty_stub were missing in pyDoubles wrapper
- Release 1.6.3
- [FIXED] async race condition bug
- [NEW] Access to spy invocations with _method_.calls
- Release 1.6
- [NEW] Ad-hoc stub attributes
- [NEW] AttributeFactory callable types: function, method (Closes: #bitbucket:issue/7)
- [NEW] BuiltingSignature for non Python functions
- [NEW] ProxySpy propagates stubbed invocations too
- Merge feature-async branch: Spy async checking
- Release 1.5 to replace pyDoubles
- ANY_ARG must be different to any other thing.
- API CHANGE: called_with() is now called().with_args() (magmax suggestion)