[TIP] [ANN] flexmock 0.9.0

Herman Sheremetyev herman at swebpage.com
Tue Nov 8 19:02:14 PST 2011


Hello python testers,

Latest version of Flexmock is out:

http://has207.github.com/flexmock/

New features in this release:

* State machine support using the when() modifier. Details here:

http://has207.github.com/flexmock/user-guide.html#state-support

* Fast expectation failures:

Expectations will now fail as soon as number of expected calls is
exceeded rather than after the entire test is finished running, giving
a better TDD experience.

Bugs fixed:

- allow spies on class and static methods
- disallow spies on class mocks
- fixing unicode args handling
- fixing issues with @property methods misbehaving in the debugger
(all properties eliminated)
- fixing pytest integration and instance teardown
- fixing private method handling

Cheers,

-Herman



More information about the testing-in-python mailing list