summaryrefslogtreecommitdiff
path: root/lib/testtools/NEWS
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-12-08 21:21:59 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-12-08 22:12:00 +0100
commit624a78d9f8214d21346b7791d3e2f2a57cb26688 (patch)
tree01024ad10aba1dc0f01f5455103a0d5f16165ab6 /lib/testtools/NEWS
parent03e5f581aed89b3eea5769a244864a0f9938ac59 (diff)
downloadsamba-624a78d9f8214d21346b7791d3e2f2a57cb26688.tar.gz
samba-624a78d9f8214d21346b7791d3e2f2a57cb26688.tar.bz2
samba-624a78d9f8214d21346b7791d3e2f2a57cb26688.zip
testtools: Update to new upstream revision.
Diffstat (limited to 'lib/testtools/NEWS')
-rw-r--r--lib/testtools/NEWS41
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/testtools/NEWS b/lib/testtools/NEWS
index c56bdf7470..2795bae51c 100644
--- a/lib/testtools/NEWS
+++ b/lib/testtools/NEWS
@@ -9,8 +9,49 @@ NEXT
Changes
-------
+* ``MatchesAll`` now takes an ``first_only`` keyword argument that changes how
+ mismatches are displayed. If you were previously passing matchers to
+ ``MatchesAll`` with keyword arguments, then this change might affect your
+ test results. (Jonathan Lange)
+
+Improvements
+------------
+
+* Actually hide all of the testtools stack for assertion failures. The
+ previous release promised clean stack, but now we actually provide it.
+ (Jonathan Lange, #854769)
+
* Failed equality assertions now line up. (Jonathan Lange, #879339)
+* ``MatchesAll`` and ``MatchesListwise`` both take a ``first_only`` keyword
+ argument. If True, they will report only on the first mismatch they find,
+ and not continue looking for other possible mismatches.
+ (Jonathan Lange)
+
+* New matchers:
+
+ * ``DirContains`` matches the contents of a directory.
+ (Jonathan Lange, James Westby)
+
+ * ``DirExists`` matches if a directory exists.
+ (Jonathan Lange, James Westby)
+
+ * ``FileContains`` matches the contents of a file.
+ (Jonathan Lange, James Westby)
+
+ * ``FileExists`` matches if a file exists.
+ (Jonathan Lange, James Westby)
+
+ * ``HasPermissions`` matches the permissions of a file. (Jonathan Lange)
+
+ * ``MatchesPredicate`` matches if a predicate is true. (Jonathan Lange)
+
+ * ``PathExists`` matches if a path exists. (Jonathan Lange, James Westby)
+
+ * ``SamePath`` matches if two paths are the same. (Jonathan Lange)
+
+ * ``TarballContains`` matches the contents of a tarball. (Jonathan Lange)
+
0.9.12
~~~~~~