lp:~lifeless/testtools/haslength
- Get this branch:
- bzr branch lp:~lifeless/testtools/haslength
Branch merges
- Vincent Ladeuil: Approve
- testtools committers: Pending requested
-
Diff: 305 lines (+178/-1)7 files modifiedNEWS (+6/-0)
doc/for-test-authors.rst (+37/-0)
testtools/matchers/__init__.py (+4/-0)
testtools/matchers/_basic.py (+12/-1)
testtools/matchers/_higherorder.py (+76/-0)
testtools/tests/matchers/test_basic.py (+16/-0)
testtools/tests/matchers/test_higherorder.py (+27/-0)
Branch information
Recent revisions
- 313. By Robert Collins
-
* New matcher ``HasLength`` for matching the length of a collection.
(Robert Collins) - 312. By Robert Collins
-
* New matcher ``MatchesPredic
ateWithParams` ` make it still easier to create
adhoc matchers. (Robert Collins) - 311. By Robert Collins
-
* We have a simpler release process in future - see doc/hacking.rst.
(Robert Collins) - 309. By Robert Collins
-
Brown paper bag fix: failed to document the need for setup to be able to use
extras. Compounded by pip not supporting setup_requires.Changes
-------* setup.py now can generate egg_info even if extras is not available.
Also lists extras in setup_requires for easy_install.
(Robert Collins, #1102464) - 307. By Robert Collins
-
* ``python -m testtools.run --load-list`` will now preserve any custom suites
(such as ``testtools.FixtureSuite` ` or ``testresources .OptimisingTest Suite`` )
rather than flattening them.
(Robert Collins, #827175) - 305. By Robert Collins
-
* Testtools will no longer override test code registered details called
'traceback' when reporting caught exceptions from test code.
(Robert Collins, #812793) - 304. By Robert Collins
-
* Testtools now depends on extras, a small library split out from it to contain
generally useful non-testing facilities. Since extras has been around for a
couple of testtools releases now, we're making this into a hard dependency of
testtools. (Robert Collins)* Testtools now uses setuptools rather than distutils so that we can document
the extras dependency. (Robert Collins)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~testtools-committers/testtools/trunk