tl.testing
view CHANGES.txt @ 168:6bf2961a1722
applied remaining package layout conventions according to tl.pkg (version pinning, docs)
| author | Thomas Lotze <thomas@thomas-lotze.de> |
|---|---|
| date | Fri, 30 Mar 2012 17:54:03 +0200 |
| parents | c16e074452b7 |
| children |
line source
1 =========================
2 Change log for tl.testing
3 =========================
5 0.6 (unreleased)
6 ================
8 - Fixed PyPI link in Sphinx template.
10 - For absolute imports, use the Python language feature rather than
11 ``manuel``. Moved the logic for cairo mocks used when building the docs to
12 the Sphinx configuration.
14 - Applied package layout conventions according to :pypi:`tl.pkg`.
17 0.5 (2012-01-04)
18 ================
20 - Added ``tl.testing.thread`` providing thread classes that handle or report
21 exceptions as well as a thread-aware test case class that provides reporting
22 on threads left behind by tests and some conveniences for using threads in
23 test code.
25 - Dropped compatibility with Python 2.5 by introducing a context manager for
26 joining threads.
28 - Added ``tl.testing.doctest`` providing a ``DocFileSuite`` factory which is
29 compatible to that of standard doctest but uses pypi:`manuel` and allows for
30 some manuel-related additional configuration. Always require :pypi:`manuel`,
31 removed the ``cairo`` extra requirements.
33 - Fixed #5: Shield test runs that are the subject of this package's
34 tests from options passed to runs of this package's test suite itself.
36 - Changed this package's own tests to use the stock ``unittest`` test runner
37 instead of the Zope test runner. Since this caused changes in doc-test
38 counting, use mocks to make clearer whether certain tests are executed.
39 Requires the pypi:`mock` package.
41 - Updated code and development environment to newer versions of packages: no
42 longer use deprecated ``zope.testing.doctest``, build with more recent
43 :pypi:`tl.buildout_gtk`.
45 - Keep buildout.cfg under version control instead of base.cfg, expect
46 overriding to happen in local.cfg.
48 - Updated to using :pypi:`Sphinx (1.1)` for building the documentation,
49 require graphviz to create class inheritance diagrams, require
50 :pypi:`sphinxcontrib-bitbucket` to generate links to bitbucket issues and
51 :pypi:`sphinxcontrib-cheeseshop` to generate links to packages' PyPI pages.
52 Use a global table of contents in the sidebar. Added the technically
53 detailed doc-tests to the Sphinx docs.
55 - Temporarily ignore import errors for the cairo C module to allow the full
56 API docs to be built at `Read the Docs`_.
58 .. _Read the Docs: http://tltesting.readthedocs.org/
61 0.4 (2009-09-14)
62 ================
64 Cairo testing:
65 - Updated to using manuel 1.0.0b3, restoring Python 2.5 compatibility.
67 - Allowed for text in addition to the expression in figure captions, as well
68 as multi-line captions.
70 - Interpret an option for excluding one or more rectangular areas of a
71 surface from comparison with the expected image.
74 0.3 (2009-07-23)
75 ================
77 Cairo testing:
78 - Updated to using manuel 1.0.0b2, implying the requirement of Python 2.6
79 and a refactoring of the DocFileSuite that loses encoding support.
81 - Improved the behaviour in the case that a result cannot be written to an
82 image file.
84 - Write the test result to an image file also in the case that the expected
85 image cannot be loaded.
87 - Disallowed absolute image paths as they would only work on Unix-like
88 systems because of the requirement to use / as the path separator.
90 - Fixed DocFileSuite to accept multiple test file names, renamed the
91 ``manuel_object`` parameter to just ``manuel``, only include the doc test,
92 footnote and cairo Manuels by default.
94 - Require a cairo.ImageSurface instead of a Surface as the value of an
95 example's Python expression.
97 - Report ImageSurface format mismatches, avoid false mismatches with
98 FORMAT_RGB24 surfaces.
100 Organisation:
101 - Moved the project to the Mercurial version control system.
103 - Build documentation using Sphinx.
105 - Improved documentation, in particular added doc strings to the code.
108 0.2.2 (2009-06-24)
109 ==================
111 - Updated to using the manuel 1.0.0b1 API.
113 - Made the cairo test runner recognize the CAIRO_TEST_RESULTS environment
114 variable as a place to dump failed test results as png images.
117 0.2.1 (2009-06-09)
118 ==================
120 - Use new ``manuel.codeblock`` functionality in cairo image doc-testing.
122 - Simplified the cairo testing code a little due to a bug fix in manuel.
125 0.2 (2009-05-15)
126 ================
128 - Added a manuel test runner that compares cairo surfaces to images included
129 as ReST figures in doc test files.
132 0.1 (2008-11-11)
133 ================
135 initial release
138 .. Local Variables:
139 .. mode: rst
140 .. End:
