summaryrefslogtreecommitdiff
path: root/docs/narr/testing.rst
AgeCommit message (Collapse)Author
2017-07-03Link context manager term to glossarySteve Piercy
2017-06-10update src files and synch emphasize-lines for myprojectSteve Piercy
2016-12-27quick_tutorial - refactor MyProject/myproject for cookiecuttersSteve Piercy
2016-04-12update testing.rstSteve Piercy
- replace nose with py.test - use pip - use literalinclude of MyProject/setup.py instead of copy-pasta
2015-12-14- Remove broken integration test example from testing and source file, per #2172Steve Piercy
- Update functional test with explicit instructions and to sync with actual starter scaffold
2015-10-22minor grammar, rewrap 79 columns, some .rst syntax fixesSteve Piercy
2014-11-25Tweak seealso for the includeme function.Matt Russell
2014-11-25Include code examples for integration and functional tests in docs #1001Matt Russell
Wrap lines as per convention.
2014-02-10- Garden PR #1121Steve Piercy
2013-10-30new apiChris McDonough
2013-10-27Security APIs on pyramid.request.RequestMatt Russell
The pyramid.security Authorization API function has_permission is made available on the request. The pyramid.security Authentication API functions are now available as properties (unauthenticated_userid, authenticated_userid, effective_principals) and methods (remember_userid, forget_userid) on pyramid.request.Request. Backwards compatibility: For each of the APIs moved to request method or property, the original API in the pyramid.security module proxies to the request. Reworked tests to check module level b/c wrappers call through to mixins for each API. Tests that check no reg on request now do the right thing. Use a response callback to set the request headers for forget_userid and remember_userid. Update docs. Attempt to improve a documentation section referencing the pyramid.security.has_permission function in docs/narr/resources.rst Ensures backwards compatiblity for `pyramid.security.forget` and `pyramid.security.remember`.
2013-04-23add a note about missing codeTshepang Lekhonkhobe
2013-04-22Merge pull request #997 from tshepang/patch-2Michael Merickel
add missing comma
2013-04-22Merge pull request #999 from tshepang/patch-5Tres Seaver
replace deprecated method
2013-04-23replace deprecated methodTshepang Lekhonkhobe
2013-04-23replace deprecated methodTshepang Lekhonkhobe
2013-04-23add missing commaTshepang Lekhonkhobe
2013-04-22Merge pull request #989 from tshepang/patch-2Tres Seaver
add a cross-ref... hyperlinks are nice
2013-04-21add a cross-ref... hyperlinks are niceTshepang Lekhonkhobe
2013-04-21remove ambiguity by indicating that the target is API documentationTshepang Lekhonkhobe
2013-03-31fix some cross-referencesTshepang Lekhonkhobe
Also add webtest to intersphinx_mapping
2013-03-03No preposition needed at all. ;)Tres Seaver
2013-02-27should be one wordTshepang Lekhonkhobe
2012-09-15merge jinty's testConfig codeChris McDonough
2012-08-30Fixed broken link in docs/narr/testing.rstRonan Amicel
Fixed link to "Dive into Python" (previous mirror is down).
2012-06-16A context manager for test setupBrian Sutherland
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