Update py-testtools to 0.9.15.
0.9.15
~~~~~~
This is the last release to support Python2.4 and 2.5. It brings in a slew of
improvements to test tagging and concurrency, making running large test suites
with partitioned workers more reliable and easier to reproduce exact test
ordering in a given worker. See our sister project ``testrepository`` for a
test runner that uses these features.
Changes
-------
* ``PlaceHolder`` and ``ErrorHolder`` now support being given result details.
(Robert Collins)
* ``ErrorHolder`` is now just a function - all the logic is in ``PlaceHolder``.
(Robert Collins)
* ``TestResult`` and all other ``TestResult``-like objects in testtools
distinguish between global tags and test-local tags, as per the subunit
specification. (Jonathan Lange)
* This is the **last** release of testtools that supports Python 2.4 or 2.5.
These releases are no longer supported by the Python community and do not
receive security updates. If this affects you, you will need to either
stay on this release or perform your own backports.
(Jonathan Lange, Robert Collins)
* ``ThreadsafeForwardingResult`` now forwards global tags as test-local tags,
making reasoning about the correctness of the multiplexed stream simpler.
This preserves the semantic value (what tags apply to a given test) while
consuming less stream size (as no negative-tag statement is needed).
(Robert Collins, Gary Poster, #986434)
Improvements
------------
* API documentation corrections. (Raphaël Badin)
* ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter
that can be used to wrap the ``ThreadsafeForwardingResult``s created by
the suite. (Jonathan Lange)
* ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to
it with a particular set of tags. (Jonathan Lange)
* ``testresultdecorator`` brought over from subunit. (Jonathan Lange)
* All ``TestResult`` wrappers now correctly forward ``current_tags`` from
their wrapped results, meaning that ``current_tags`` can always be relied
upon to return the currently active tags on a test result.
* ``TestByTestResult``, a ``TestResult`` that calls a method once per test,
added. (Jonathan Lange)
* ``ThreadsafeForwardingResult`` correctly forwards ``tags()`` calls where
only one of ``new_tags`` or ``gone_tags`` are specified.
(Jonathan Lange, #980263)
* ``ThreadsafeForwardingResult`` no longer leaks local tags from one test
into all future tests run. (Jonathan Lange, #985613)
* ``ThreadsafeForwardingResult`` has many, many more tests. (Jonathan Lange)
2012-09-16 14:37:51 +02:00
|
|
|
@comment $NetBSD: PLIST,v 1.4 2012/09/16 12:37:51 obache Exp $
|
2012-04-08 22:21:41 +02:00
|
|
|
${PYSITELIB}/${EGG_FILE}
|
2011-07-22 16:15:01 +02:00
|
|
|
${PYSITELIB}/testtools/__init__.py
|
|
|
|
${PYSITELIB}/testtools/__init__.pyc
|
|
|
|
${PYSITELIB}/testtools/__init__.pyo
|
Update py-testtools to 0.9.12.
0.9.12
~~~~~~
This is a very big release. We've made huge improvements on three fronts:
1. Test failures are way nicer and easier to read
2. Matchers and ``assertThat`` are much more convenient to use
3. Correct handling of extended unicode characters
We've trimmed off the fat from the stack trace you get when tests fail, we've
cut out the bits of error messages that just didn't help, we've made it easier
to annotate mismatch failures, to compare complex objects and to match raised
exceptions.
Testing code was never this fun.
Changes
-------
* ``AfterPreproccessing`` renamed to ``AfterPreprocessing``, which is a more
correct spelling. Old name preserved for backwards compatibility, but is
now deprecated. Please stop using it.
(Jonathan Lange, #813460)
* ``assertThat`` raises ``MismatchError`` instead of
``TestCase.failureException``. ``MismatchError`` is a subclass of
``AssertionError``, so in most cases this change will not matter. However,
if ``self.failureException`` has been set to a non-default value, then
mismatches will become test errors rather than test failures.
* ``gather_details`` takes two dicts, rather than two detailed objects.
(Jonathan Lange, #801027)
* ``MatchesRegex`` mismatch now says "<value> does not match /<regex>/" rather
than "<regex> did not match <value>". The regular expression contains fewer
backslashes too. (Jonathan Lange, #818079)
* Tests that run with ``AsynchronousDeferredRunTest`` now have the ``reactor``
attribute set to the running reactor. (Jonathan Lange, #720749)
Improvements
------------
* All public matchers are now in ``testtools.matchers.__all__``.
(Jonathan Lange, #784859)
* ``assertThat`` can actually display mismatches and matchers that contain
extended unicode characters. (Jonathan Lange, Martin [gz], #804127)
* ``assertThat`` output is much less verbose, displaying only what the mismatch
tells us to display. Old-style verbose output can be had by passing
``verbose=True`` to assertThat. (Jonathan Lange, #675323, #593190)
* ``assertThat`` accepts a message which will be used to annotate the matcher.
This can be given as a third parameter or as a keyword parameter.
(Robert Collins)
* Automated the Launchpad part of the release process.
(Jonathan Lange, #623486)
* Correctly display non-ASCII unicode output on terminals that claim to have a
unicode encoding. (Martin [gz], #804122)
* ``DocTestMatches`` correctly handles unicode output from examples, rather
than raising an error. (Martin [gz], #764170)
* ``ErrorHolder`` and ``PlaceHolder`` added to docs. (Jonathan Lange, #816597)
* ``ExpectedException`` now matches any exception of the given type by
default, and also allows specifying a ``Matcher`` rather than a mere regular
expression. (Jonathan Lange, #791889)
* ``FixtureSuite`` added, allows test suites to run with a given fixture.
(Jonathan Lange)
* Hide testtools's own stack frames when displaying tracebacks, making it
easier for test authors to focus on their errors.
(Jonathan Lange, Martin [gz], #788974)
* Less boilerplate displayed in test failures and errors.
(Jonathan Lange, #660852)
* ``MatchesException`` now allows you to match exceptions against any matcher,
rather than just regular expressions. (Jonathan Lange, #791889)
* ``MatchesException`` now permits a tuple of types rather than a single type
(when using the type matching mode). (Robert Collins)
* ``MatchesStructure.byEquality`` added to make the common case of matching
many attributes by equality much easier. ``MatchesStructure.byMatcher``
added in case folk want to match by things other than equality.
(Jonathan Lange)
* New convenience assertions, ``assertIsNone`` and ``assertIsNotNone``.
(Christian Kampka)
* New matchers:
* ``AllMatch`` matches many values against a single matcher.
(Jonathan Lange, #615108)
* ``Contains``. (Robert Collins)
* ``GreaterThan``. (Christian Kampka)
* New helper, ``safe_hasattr`` added. (Jonathan Lange)
* ``reraise`` added to ``testtools.compat``. (Jonathan Lange)
2011-10-07 12:45:06 +02:00
|
|
|
${PYSITELIB}/testtools/_compat2x.py
|
|
|
|
${PYSITELIB}/testtools/_compat2x.pyc
|
|
|
|
${PYSITELIB}/testtools/_compat2x.pyo
|
|
|
|
${PYSITELIB}/testtools/_compat3x.py
|
|
|
|
${PYSITELIB}/testtools/_compat3x.pyc
|
|
|
|
${PYSITELIB}/testtools/_compat3x.pyo
|
2011-07-22 16:15:01 +02:00
|
|
|
${PYSITELIB}/testtools/_spinner.py
|
|
|
|
${PYSITELIB}/testtools/_spinner.pyc
|
|
|
|
${PYSITELIB}/testtools/_spinner.pyo
|
|
|
|
${PYSITELIB}/testtools/compat.py
|
|
|
|
${PYSITELIB}/testtools/compat.pyc
|
|
|
|
${PYSITELIB}/testtools/compat.pyo
|
|
|
|
${PYSITELIB}/testtools/content.py
|
|
|
|
${PYSITELIB}/testtools/content.pyc
|
|
|
|
${PYSITELIB}/testtools/content.pyo
|
|
|
|
${PYSITELIB}/testtools/content_type.py
|
|
|
|
${PYSITELIB}/testtools/content_type.pyc
|
|
|
|
${PYSITELIB}/testtools/content_type.pyo
|
|
|
|
${PYSITELIB}/testtools/deferredruntest.py
|
|
|
|
${PYSITELIB}/testtools/deferredruntest.pyc
|
|
|
|
${PYSITELIB}/testtools/deferredruntest.pyo
|
|
|
|
${PYSITELIB}/testtools/distutilscmd.py
|
|
|
|
${PYSITELIB}/testtools/distutilscmd.pyc
|
|
|
|
${PYSITELIB}/testtools/distutilscmd.pyo
|
|
|
|
${PYSITELIB}/testtools/helpers.py
|
|
|
|
${PYSITELIB}/testtools/helpers.pyc
|
|
|
|
${PYSITELIB}/testtools/helpers.pyo
|
|
|
|
${PYSITELIB}/testtools/matchers.py
|
|
|
|
${PYSITELIB}/testtools/matchers.pyc
|
|
|
|
${PYSITELIB}/testtools/matchers.pyo
|
|
|
|
${PYSITELIB}/testtools/monkey.py
|
|
|
|
${PYSITELIB}/testtools/monkey.pyc
|
|
|
|
${PYSITELIB}/testtools/monkey.pyo
|
|
|
|
${PYSITELIB}/testtools/run.py
|
|
|
|
${PYSITELIB}/testtools/run.pyc
|
|
|
|
${PYSITELIB}/testtools/run.pyo
|
|
|
|
${PYSITELIB}/testtools/runtest.py
|
|
|
|
${PYSITELIB}/testtools/runtest.pyc
|
|
|
|
${PYSITELIB}/testtools/runtest.pyo
|
Update py-testtools to 0.9.15.
0.9.15
~~~~~~
This is the last release to support Python2.4 and 2.5. It brings in a slew of
improvements to test tagging and concurrency, making running large test suites
with partitioned workers more reliable and easier to reproduce exact test
ordering in a given worker. See our sister project ``testrepository`` for a
test runner that uses these features.
Changes
-------
* ``PlaceHolder`` and ``ErrorHolder`` now support being given result details.
(Robert Collins)
* ``ErrorHolder`` is now just a function - all the logic is in ``PlaceHolder``.
(Robert Collins)
* ``TestResult`` and all other ``TestResult``-like objects in testtools
distinguish between global tags and test-local tags, as per the subunit
specification. (Jonathan Lange)
* This is the **last** release of testtools that supports Python 2.4 or 2.5.
These releases are no longer supported by the Python community and do not
receive security updates. If this affects you, you will need to either
stay on this release or perform your own backports.
(Jonathan Lange, Robert Collins)
* ``ThreadsafeForwardingResult`` now forwards global tags as test-local tags,
making reasoning about the correctness of the multiplexed stream simpler.
This preserves the semantic value (what tags apply to a given test) while
consuming less stream size (as no negative-tag statement is needed).
(Robert Collins, Gary Poster, #986434)
Improvements
------------
* API documentation corrections. (Raphaël Badin)
* ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter
that can be used to wrap the ``ThreadsafeForwardingResult``s created by
the suite. (Jonathan Lange)
* ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to
it with a particular set of tags. (Jonathan Lange)
* ``testresultdecorator`` brought over from subunit. (Jonathan Lange)
* All ``TestResult`` wrappers now correctly forward ``current_tags`` from
their wrapped results, meaning that ``current_tags`` can always be relied
upon to return the currently active tags on a test result.
* ``TestByTestResult``, a ``TestResult`` that calls a method once per test,
added. (Jonathan Lange)
* ``ThreadsafeForwardingResult`` correctly forwards ``tags()`` calls where
only one of ``new_tags`` or ``gone_tags`` are specified.
(Jonathan Lange, #980263)
* ``ThreadsafeForwardingResult`` no longer leaks local tags from one test
into all future tests run. (Jonathan Lange, #985613)
* ``ThreadsafeForwardingResult`` has many, many more tests. (Jonathan Lange)
2012-09-16 14:37:51 +02:00
|
|
|
${PYSITELIB}/testtools/tags.py
|
|
|
|
${PYSITELIB}/testtools/tags.pyc
|
|
|
|
${PYSITELIB}/testtools/tags.pyo
|
2011-07-22 16:15:01 +02:00
|
|
|
${PYSITELIB}/testtools/testcase.py
|
|
|
|
${PYSITELIB}/testtools/testcase.pyc
|
|
|
|
${PYSITELIB}/testtools/testcase.pyo
|
|
|
|
${PYSITELIB}/testtools/testresult/__init__.py
|
|
|
|
${PYSITELIB}/testtools/testresult/__init__.pyc
|
|
|
|
${PYSITELIB}/testtools/testresult/__init__.pyo
|
|
|
|
${PYSITELIB}/testtools/testresult/doubles.py
|
|
|
|
${PYSITELIB}/testtools/testresult/doubles.pyc
|
|
|
|
${PYSITELIB}/testtools/testresult/doubles.pyo
|
|
|
|
${PYSITELIB}/testtools/testresult/real.py
|
|
|
|
${PYSITELIB}/testtools/testresult/real.pyc
|
|
|
|
${PYSITELIB}/testtools/testresult/real.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/__init__.py
|
|
|
|
${PYSITELIB}/testtools/tests/__init__.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/__init__.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/helpers.py
|
|
|
|
${PYSITELIB}/testtools/tests/helpers.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/helpers.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_compat.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_compat.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_compat.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_content.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_content.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_content.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_content_type.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_content_type.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_content_type.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_deferredruntest.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_deferredruntest.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_deferredruntest.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_distutilscmd.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_distutilscmd.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_distutilscmd.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_fixturesupport.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_fixturesupport.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_fixturesupport.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_helpers.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_helpers.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_helpers.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_matchers.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_matchers.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_matchers.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_monkey.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_monkey.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_monkey.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_run.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_run.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_run.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_runtest.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_runtest.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_runtest.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_spinner.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_spinner.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_spinner.pyo
|
Update py-testtools to 0.9.15.
0.9.15
~~~~~~
This is the last release to support Python2.4 and 2.5. It brings in a slew of
improvements to test tagging and concurrency, making running large test suites
with partitioned workers more reliable and easier to reproduce exact test
ordering in a given worker. See our sister project ``testrepository`` for a
test runner that uses these features.
Changes
-------
* ``PlaceHolder`` and ``ErrorHolder`` now support being given result details.
(Robert Collins)
* ``ErrorHolder`` is now just a function - all the logic is in ``PlaceHolder``.
(Robert Collins)
* ``TestResult`` and all other ``TestResult``-like objects in testtools
distinguish between global tags and test-local tags, as per the subunit
specification. (Jonathan Lange)
* This is the **last** release of testtools that supports Python 2.4 or 2.5.
These releases are no longer supported by the Python community and do not
receive security updates. If this affects you, you will need to either
stay on this release or perform your own backports.
(Jonathan Lange, Robert Collins)
* ``ThreadsafeForwardingResult`` now forwards global tags as test-local tags,
making reasoning about the correctness of the multiplexed stream simpler.
This preserves the semantic value (what tags apply to a given test) while
consuming less stream size (as no negative-tag statement is needed).
(Robert Collins, Gary Poster, #986434)
Improvements
------------
* API documentation corrections. (Raphaël Badin)
* ``ConcurrentTestSuite`` now takes an optional ``wrap_result`` parameter
that can be used to wrap the ``ThreadsafeForwardingResult``s created by
the suite. (Jonathan Lange)
* ``Tagger`` added. It's a new ``TestResult`` that tags all tests sent to
it with a particular set of tags. (Jonathan Lange)
* ``testresultdecorator`` brought over from subunit. (Jonathan Lange)
* All ``TestResult`` wrappers now correctly forward ``current_tags`` from
their wrapped results, meaning that ``current_tags`` can always be relied
upon to return the currently active tags on a test result.
* ``TestByTestResult``, a ``TestResult`` that calls a method once per test,
added. (Jonathan Lange)
* ``ThreadsafeForwardingResult`` correctly forwards ``tags()`` calls where
only one of ``new_tags`` or ``gone_tags`` are specified.
(Jonathan Lange, #980263)
* ``ThreadsafeForwardingResult`` no longer leaks local tags from one test
into all future tests run. (Jonathan Lange, #985613)
* ``ThreadsafeForwardingResult`` has many, many more tests. (Jonathan Lange)
2012-09-16 14:37:51 +02:00
|
|
|
${PYSITELIB}/testtools/tests/test_tags.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_tags.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_tags.pyo
|
Update py-testtools to 0.9.12.
0.9.12
~~~~~~
This is a very big release. We've made huge improvements on three fronts:
1. Test failures are way nicer and easier to read
2. Matchers and ``assertThat`` are much more convenient to use
3. Correct handling of extended unicode characters
We've trimmed off the fat from the stack trace you get when tests fail, we've
cut out the bits of error messages that just didn't help, we've made it easier
to annotate mismatch failures, to compare complex objects and to match raised
exceptions.
Testing code was never this fun.
Changes
-------
* ``AfterPreproccessing`` renamed to ``AfterPreprocessing``, which is a more
correct spelling. Old name preserved for backwards compatibility, but is
now deprecated. Please stop using it.
(Jonathan Lange, #813460)
* ``assertThat`` raises ``MismatchError`` instead of
``TestCase.failureException``. ``MismatchError`` is a subclass of
``AssertionError``, so in most cases this change will not matter. However,
if ``self.failureException`` has been set to a non-default value, then
mismatches will become test errors rather than test failures.
* ``gather_details`` takes two dicts, rather than two detailed objects.
(Jonathan Lange, #801027)
* ``MatchesRegex`` mismatch now says "<value> does not match /<regex>/" rather
than "<regex> did not match <value>". The regular expression contains fewer
backslashes too. (Jonathan Lange, #818079)
* Tests that run with ``AsynchronousDeferredRunTest`` now have the ``reactor``
attribute set to the running reactor. (Jonathan Lange, #720749)
Improvements
------------
* All public matchers are now in ``testtools.matchers.__all__``.
(Jonathan Lange, #784859)
* ``assertThat`` can actually display mismatches and matchers that contain
extended unicode characters. (Jonathan Lange, Martin [gz], #804127)
* ``assertThat`` output is much less verbose, displaying only what the mismatch
tells us to display. Old-style verbose output can be had by passing
``verbose=True`` to assertThat. (Jonathan Lange, #675323, #593190)
* ``assertThat`` accepts a message which will be used to annotate the matcher.
This can be given as a third parameter or as a keyword parameter.
(Robert Collins)
* Automated the Launchpad part of the release process.
(Jonathan Lange, #623486)
* Correctly display non-ASCII unicode output on terminals that claim to have a
unicode encoding. (Martin [gz], #804122)
* ``DocTestMatches`` correctly handles unicode output from examples, rather
than raising an error. (Martin [gz], #764170)
* ``ErrorHolder`` and ``PlaceHolder`` added to docs. (Jonathan Lange, #816597)
* ``ExpectedException`` now matches any exception of the given type by
default, and also allows specifying a ``Matcher`` rather than a mere regular
expression. (Jonathan Lange, #791889)
* ``FixtureSuite`` added, allows test suites to run with a given fixture.
(Jonathan Lange)
* Hide testtools's own stack frames when displaying tracebacks, making it
easier for test authors to focus on their errors.
(Jonathan Lange, Martin [gz], #788974)
* Less boilerplate displayed in test failures and errors.
(Jonathan Lange, #660852)
* ``MatchesException`` now allows you to match exceptions against any matcher,
rather than just regular expressions. (Jonathan Lange, #791889)
* ``MatchesException`` now permits a tuple of types rather than a single type
(when using the type matching mode). (Robert Collins)
* ``MatchesStructure.byEquality`` added to make the common case of matching
many attributes by equality much easier. ``MatchesStructure.byMatcher``
added in case folk want to match by things other than equality.
(Jonathan Lange)
* New convenience assertions, ``assertIsNone`` and ``assertIsNotNone``.
(Christian Kampka)
* New matchers:
* ``AllMatch`` matches many values against a single matcher.
(Jonathan Lange, #615108)
* ``Contains``. (Robert Collins)
* ``GreaterThan``. (Christian Kampka)
* New helper, ``safe_hasattr`` added. (Jonathan Lange)
* ``reraise`` added to ``testtools.compat``. (Jonathan Lange)
2011-10-07 12:45:06 +02:00
|
|
|
${PYSITELIB}/testtools/tests/test_testcase.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_testcase.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_testcase.pyo
|
2011-07-22 16:15:01 +02:00
|
|
|
${PYSITELIB}/testtools/tests/test_testresult.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_testresult.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_testresult.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_testsuite.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_testsuite.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_testsuite.pyo
|
|
|
|
${PYSITELIB}/testtools/tests/test_with_with.py
|
|
|
|
${PYSITELIB}/testtools/tests/test_with_with.pyc
|
|
|
|
${PYSITELIB}/testtools/tests/test_with_with.pyo
|
|
|
|
${PYSITELIB}/testtools/testsuite.py
|
|
|
|
${PYSITELIB}/testtools/testsuite.pyc
|
|
|
|
${PYSITELIB}/testtools/testsuite.pyo
|
|
|
|
${PYSITELIB}/testtools/utils.py
|
|
|
|
${PYSITELIB}/testtools/utils.pyc
|
|
|
|
${PYSITELIB}/testtools/utils.pyo
|