summaryrefslogtreecommitdiff
path: root/NEWS
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.6.0Colin Watson2023-03-141-6/+10
| | | | Fixes #321.
* Finish adding support for Python 3.11Colin Watson2023-03-141-0/+2
|
* Add a few missing entries to NEWSColin Watson2023-03-141-0/+7
|
* Merge branch 'master' into compound-fixtureJelmer Vernooij2022-07-011-0/+3
|\
| * Provide a ``testtools[twisted]`` extraColin Watson2022-07-011-0/+3
| | | | | | | | | | | | | | This documents dependencies needed for `testtools.twistedsupport`. At the moment this is just `Twisted`, but it generally seems a good idea to put this sort of thing in an official extra rather than having it be documented ad-hoc.
* | Use CompoundFixture from fixtures>=2.0 rather than rolling our ownColin Watson2022-07-011-0/+3
|/ | | | `fixtures` 2.0 was released in 2016.
* Drop support for EOL Python 3.5Hugo van Kemenade2022-02-071-0/+3
|
* Add missing quotes around identifier.Jelmer Vernooij2022-01-241-1/+1
|
* Merge branch 'master' into deprecate-distutils-integrationJelmer Vernooij2022-01-241-1/+1
|\
| * Fix typo. Fixes #320Jelmer Vernooij2022-01-241-1/+1
| |
* | Deprecate distutils integrationStephen Finucane2021-12-131-1/+4
|/ | | | | | | | We don't want to remove this immediately, but we should try to do so sooner rather than later. Signed-off-by: Stephen Finucane <stephen@that.guru> Closes: #316
* Add support for Python 3.10Jürgen Gmach2021-10-141-0/+9
|
* Release 2.5.02.5.0Matthew Treinish2021-07-141-2/+5
| | | | This commit prepares the NEWS file for the 2.5.0 release.
* Note Python 3.5 is EOL and will be dropped after the next releaseHugo van Kemenade2021-06-261-4/+6
|
* Add support for Python 3.9Hugo van Kemenade2021-06-121-0/+3
|
* Remove use of 'try_imports'Stephen Finucane2021-02-251-0/+5
| | | | | | | | This was being used in places to handle differences between Python 2 and Python 3. Since we only care about the latter now, the utility can be removed. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Remove use of 'safe_hasattr'Stephen Finucane2021-02-251-0/+6
| | | | | | | | | | | | | This was used to workaround some issues with 'hasattr' on Python 2.x versions, discussed in the source for extras (where this utility was moved to make it more useful to others) [1] and elsewhere on the internet [2]. These issues are no longer present on the versions of Python we now support (Python 3.6+) so this is no longer necessary. [1] https://github.com/testing-cabal/extras/blob/1.0.0/extras/__init__.py#L101-L108 [2] https://hynek.me/articles/hasattr/ Signed-off-by: Stephen Finucane <stephen@that.guru>
* NEWS: Add note about unittest2 removalStephen Finucane2021-02-251-0/+7
| | | | Signed-off-by: Stephen Finucane <stephen@that.guru>
* Merge branch 'master' into skip-classMatthew Treinish2020-03-161-1/+24
|\
| * Release 2.4.0.2.4.0Jelmer Vernooij2020-03-131-0/+24
| |
* | Allow skip/skipIf/skipUnless as class decoratorsZane Bitter2018-11-191-0/+10
|/ | | | | | | | | | | | | | | | In unittest/unittest2 the skip/skipIf/skipUnless decorators can be used to decorate either individual test methods or entire TestCase classes. However, the testtools equivalents could previously only be used to decorate test methods. If used on a TestCase the class would be replaced with a function, resulting in the tests either not be discovered at all or (if a custom test loader was used) potentially an error. This change allows the skip decorators to be used on the TestCase subclass, for equivalent functionality with unittest. Fixes #205 Signed-off-by: Zane Bitter <zbitter@redhat.com>
* Spelling fixes (#261)Ville Skyttä2017-05-291-3/+3
|
* Release 2.3.02.3.0Free Ekanayaka2017-05-111-3/+14
|
* Add ResourcedToStreamDecorator test result decorator for testresources ↵Free Ekanayaka2017-04-111-0/+6
| | | | | integration (#243) This new decorator implements the TestResult protocol extension supported by test resources. For example, tt makes it possible to easily have resource-related events streamed to subunit.
* Release 2.2.02.2.0Robert Collins2016-05-191-0/+3
| | | | Change-Id: I987d4e3a0aee951941efcae0abba147197f79732
* Use inlineCallbacks instead of deferredGeneratorJonathan Lange2016-04-271-0/+6
| | | | deferredGenerator is deprecated.
* Fix _lp_release: NEXT is case sensitive.Robert Collins2016-04-181-1/+1
| | | | Change-Id: I2598eac83d42e3d491d124fd0f6277e35b261c45
* Release 2.1.02.1.0Robert Collins2016-04-181-0/+3
| | | | Change-Id: Ib3053cb902f607eef8f1c245bbd29e3da17fa6b0
* Add matchers for detecting emitted warnings.Jonathan Jacobs2016-03-161-0/+3
|
* Add unique_text_generatorBrant Knudson2016-02-291-0/+4
| | | | | | | | | This provides a way to make it easier to test with unicode text strings. The value returned will be like TestCase.getUniqueString but the value is six.text_type and contains unicode. Change-Id: I3f144e1294a801b23793f7a2520465e15f3a5222
* Become compatible with newer Fixtures _setUp() API.Julian Edwards2016-02-151-0/+4
| | | | | | | | | Previously, when gathering details caused by a setUp failure, a traceback occurred if the fixture used the newer _setUp(). This also had the side effect of not clearing up fixtures properly. Change-Id: I9d138e8d559e176867c6e3f4b89f784cf4d29f05 Fixes: https://bugs.launchpad.net/testtools/+bug/1469759
* Better handling of KeyboardInterruptJonathan Lange2016-02-141-0/+6
| | | | | | When we get a suspected KeyboardInterrupt (no result from Deferred), explicitly stop the result and report the error as if it were a user error.
* Fix example in docstring for `failed`Jonathan Lange2016-02-141-0/+2
|
* Add Always & Never matchers.Jonathan Lange2016-02-071-0/+2
|
* Support TestResults without stop/shouldStopJonathan Lange2016-02-041-0/+9
| | | | | | Twisted's IReporter contract doesn't specify `stop` or `shouldStop`. With this change, we can still meaningfully call `stop()` after adapting with `ExtendedToOriginalDecorator`.
* Release 2.0.02.0.0Jonathan Lange2016-02-031-2/+5
|
* Options for logging in AsynchronousDeferredRunTestJonathan Lange2016-02-031-0/+8
| | | | | | | * Exposes `CaptureTwistedLogs`, a fixture responsible for adding Twisted logs as a detail * Adds `suppress_twisted_logging` and `store_twisted_logs` parameters to `AsynchronousDeferredRunTest`
* Twisted tests now pass under --debug-stacktracesJonathan Lange2016-01-301-0/+3
| | | | | | Our tests make assertions that only hold when debugging is disabled. This patch updates the code to ensure that debugging is in the state we want.
* Decouple log handling from Deferred wranglingJonathan Lange2016-01-291-0/+5
| | | | | | | | | | | | | | | `AsynchronousDeferredRunTest` has too much responsibility: in addition to spinning the reactor while waiting for Deferreds to return, it also suppresses Twisted's normal logging system, captures all of the Twisted logs as a detail, and looks through these logs for errors. These are three separate logging responsibilities which have been extracted into three separate fixtures which are used by `AsynchronousDeferredRunTest`. This paves the way for giving users more control over these behaviors. This patch deprecates some code and adds a dependency on fixtures, but otherwise does not change behavior.
* Review tweaksJonathan Lange2016-01-261-2/+2
|
* Drop support for Python 2.6 and 3.2Jonathan Lange2016-01-251-0/+10
| | | | | Just the tests and documentation for now. Leaves any code accommodations in place.
* Release 1.9.01.9.0Jonathan Lange2016-01-251-2/+9
|
* NEWS updateJonathan Lange2016-01-221-0/+5
|
* NO_RESULT -> has_no_resultJonathan Lange2016-01-131-1/+1
|
* Make twistedsupport a packageJonathan Lange2016-01-121-1/+1
|
* Rename `successful` to `succeeded`Jonathan Lange2016-01-121-1/+1
|
* Merge branch 'master' into deferred-matchersJonathan Lange2016-01-121-7/+9
|\
| * Merge pull request #195 from jml/bug-links-in-newsJonathan Lange2016-01-121-7/+6
| |\ | | | | | | Improve NEWS
| | * Improve NEWSJonathan Lange2016-01-101-7/+6
| | | | | | | | | | | | | | | Link to fixed bugs, move user-facing bugfix to improvements, delete duplicate entry.
| * | Merge pull request #192 from testing-cabal/readthedocs-twistedJonathan Lange2016-01-101-0/+3
| |\ \ | | |/ | |/| Add requirements for readthedocs