summaryrefslogtreecommitdiff
path: root/docs/narr/testing.rst
AgeCommit message (Collapse)Author
2012-02-24Trivial typosPaul Winkler
2011-10-23updated Dive Into Python linkCypha
2011-06-11- Pyramid now expects Response objects to have a __call__Chris McDonough
method which implements the WSGI application interface instead of the three webob attrs status, headerlist and app_iter. Backwards compatibility exists for code which returns response objects that do not have a __call__. - pyramid.response.Response is no longer an exception (and therefore cannot be raised in order to generate a response). - Changed my mind about moving stuff from pyramid.httpexceptions to pyramid.response. The stuff I moved over has been moved back to pyramid.httpexceptions.
2011-05-31the canonical import location for HTTP exceptions/responses is now ↵Chris McDonough
pyramid.response
2011-01-27module name contractionsChris McDonough
2011-01-19- Fix deprecated example showing ``chameleon_zpt`` API call in testingChris McDonough
narrative chapter.
2011-01-18Merge https://github.com/Pylons/pyramidCasey Duncan
2011-01-18- Most references to ZCML in narrative chapters have been removed orChris McDonough
redirected to ``pyramid_zcml`` locations.
2011-01-16remove reference to obsolete begin() methodCasey Duncan
2011-01-16simplify and shorten long sentenceCasey Duncan
2011-01-16move however for better flowCasey Duncan
2011-01-12FeaturesChris McDonough
-------- - ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` have been undeprecated. They are now the canonical setup and teardown APIs for test configuration, replacing "direct" creation of a Configurator. This is a change designed to provide a facade that will protect against any future Configurator deprecations. Paster Templates ---------------- - All paster templates now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand" within their ``tests.py`` module, as per decision in features above. Documentation ------------- - The wiki and wiki2 tutorials now use ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` rather than creating a Configurator "by hand", as per decision in features above. - The "Testing" narrative chapter now explains ``pyramid.testing.setUp`` and ``pyramid.testing.tearDown`` instead of Configurator creation and ``Configurator.begin()`` and ``Configurator.end()``.
2010-12-19typoChris McDonough
2010-12-19cunctional -> functionalChris McDonough
2010-12-19add functional testing exampleChris McDonough