Mocker 0.10
Milestone information
- Project:
- Mocker
- Series:
- trunk
- Version:
- 0.10
- Released:
- Registrant:
- Gustavo Niemeyer
- Release registered:
- Active:
- No. Drivers cannot target bugs and blueprints to this milestone.
Activities
- Assigned to you:
- No blueprints or bugs assigned to you.
- Assignees:
- No users assigned to blueprints and bugs.
- Blueprints:
- No blueprints are targeted to this milestone.
- Bugs:
- No bugs are targeted to this milestone.
Download files for this release
Release notes
- Greatly improved error messages and logic for expression ordering!
- Implemented MockerTestCase.
register cleanup functions to be called after the test is
complete.
- MockerTestCase now verifies if the mocker is put in replay
mode in cases where events were recorded.
- New MATCH() argument matcher, which allows using a function
to match an argument generically. E.g. MATCH(lambda x: x > 10)
- New 'path' option to MockerTestCase.
which allows setting the full target path with a single option.
- Now when a spec is provided (or with proxy/replace/
existence of the real method is checked even if the mocked
method doesn't execute. This is useful to detect API expectation
errors even if count(0) is used (a negative assertion).
- Implemented in MockerTestCase support for Deferred results as
understood by Twisted Trial's TestCase, so that coexistence by
multiple inheritance is possible and trivial.
- MockerTestCase.
consistently returns an unexistent temporary filename which
is properly cleaned up if created.
- Fixed problem when requesting order on similar expressions. The
second expression might not be accepted.
- When the expression executed isn't exactly the same as the
recorded events (e.g. when parameter matchers are used), show in
the error message the real expression run, to aid in debugging.
Changelog
0 blueprints and 0 bugs targeted
There are no feature specifications or bug tasks targeted to this milestone. The project's maintainer, driver, or bug supervisor can target specifications and bug tasks to this milestone to track the things that are expected to be completed for the release.