testtools 0.9.6

Milestone information

Project:
testtools
Series:
0.9
Version:
0.9.6
Released:
 
Registrant:
Jonathan Lange
Release registered:
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
2 Jonathan Lange
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
2 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon testtools-0.9.6.tar.gz (md5, sig) testtools 0.9.6 347
last downloaded 48 weeks ago
Total downloads: 347

Release notes 

Nothing major in this release, just enough small bits and pieces to make it
useful enough to upgrade to.

In particular, a serious bug in assertThat() has been fixed, it's easier to
write Matchers, there's a TestCase.patch() method for those inevitable monkey
patches and TestCase.assertEqual gives slightly nicer errors.

Changelog 

View the full changelog

Improvements
------------

 * 'TestCase.assertEqual' now formats errors a little more nicely, in the
   style of bzrlib.

 * Added `PlaceHolder` and `ErrorHolder`, TestCase-like objects that can be
   used to add results to a `TestResult`.

 * 'Mismatch' now takes optional description and details parameters, so
   custom Matchers aren't compelled to make their own subclass.

 * jml added a built-in UTF8_TEXT ContentType to make it slightly easier to
   add details to test results. See bug #520044.

 * Fix a bug in our built-in matchers where assertThat would blow up if any
   of them failed. All built-in mismatch objects now provide get_details().

 * New 'Is' matcher, which lets you assert that a thing is identical to
   another thing.

 * New 'LessThan' matcher which lets you assert that a thing is less than
   another thing.

 * TestCase now has a 'patch()' method to make it easier to monkey-patching
   objects in tests. See the manual for more information. Fixes bug #310770.

 * MultiTestResult methods now pass back return values from the results it
   forwards to.

0 blueprints and 2 bugs targeted

Bug report Importance Assignee Status
310770 #310770 Add patch() functionality 6 Wishlist Jonathan Lange  10 Fix Released
520044 #520044 Please define some utility mime types like 'unicode' (text/plain;charset='utf8') 6 Wishlist Jonathan Lange  10 Fix Released
This milestone contains Public information
Everyone can see this information.