diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-20 02:31:32 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-20 02:37:04 +0100 |
commit | 145868db15a67675492fbac52d9aecfa4dcf8c84 (patch) | |
tree | 45c7e7c95eb50889f11a2506deda23977f09e73d /lib/testtools/NEWS | |
parent | 49dc973586b4b9b72ffcac3bbb5dc7fda0d1ad4e (diff) | |
download | samba-145868db15a67675492fbac52d9aecfa4dcf8c84.tar.gz samba-145868db15a67675492fbac52d9aecfa4dcf8c84.tar.bz2 samba-145868db15a67675492fbac52d9aecfa4dcf8c84.zip |
testtools: Merge in new upstream.
Diffstat (limited to 'lib/testtools/NEWS')
-rw-r--r-- | lib/testtools/NEWS | 38 |
1 files changed, 37 insertions, 1 deletions
diff --git a/lib/testtools/NEWS b/lib/testtools/NEWS index 55193080ba..4d2a74430f 100644 --- a/lib/testtools/NEWS +++ b/lib/testtools/NEWS @@ -7,6 +7,31 @@ NEXT Changes ------- +* The timestamps generated by ``TestResult`` objects when no timing data has + been received are now datetime-with-timezone, which allows them to be + sensibly serialised and transported. (Robert Collins, #692297) + +Improvements +------------ + +* ``MultiTestResult`` now forwards the ``time`` API. (Robert Collins, #692294) + +0.9.8 +~~~~~ + +In this release we bring some very interesting improvements: + +* new matchers for exceptions, sets, lists, dicts and more. + +* experimental (works but the contract isn't supported) twisted reactor + support. + +* The built in runner can now list tests and filter tests (the -l and + --load-list options). + +Changes +------- + * addUnexpectedSuccess is translated to addFailure for test results that don't know about addUnexpectedSuccess. Further, it fails the entire result for all testtools TestResults (i.e. wasSuccessful() returns False after @@ -30,6 +55,10 @@ Changes Improvements ------------ +* ``assertIsInstance`` supports a custom error message to be supplied, which + is necessary when using ``assertDictEqual`` on Python 2.7 with a + ``testtools.TestCase`` base class. (Jelmer Vernooij) + * Experimental support for running tests that return Deferreds. (Jonathan Lange, Martin [gz]) @@ -50,6 +79,9 @@ Improvements * ``MatchesException`` added to the ``testtools.matchers`` module - matches an exception class and parameters. (Robert Collins) +* ``MismatchesAll.describe`` no longer appends a trailing newline. + (Michael Hudson-Doyle, #686790) + * New ``KeysEqual`` matcher. (Jonathan Lange) * New helpers for conditionally importing modules, ``try_import`` and @@ -63,7 +95,11 @@ Improvements supplied callable raises and delegates to ``MatchesException`` to validate the exception. (Jonathan Lange) -* ``testools.TestCase.useFixture`` has been added to glue with fixtures nicely. +* Tests will now pass on Python 2.6.4 : an ``Exception`` change made only in + 2.6.4 and reverted in Python 2.6.5 was causing test failures on that version. + (Martin [gz], #689858). + +* ``testtools.TestCase.useFixture`` has been added to glue with fixtures nicely. (Robert Collins) * ``testtools.run`` now supports ``-l`` to list tests rather than executing |