Files
deb-python-falcon/doc/api/testing.rst
Kurt Griffiths 35987b2be8 feat(testing): New test case base, result class, and test resource
Add new testing classes for unittest-style test cases, based on
lessons-learned using the original base class. Port several Falcon
tests to use the new classes (the remainder to be ported in a
subsequent release.) Include wsgiref valdiation by default.

DEPRECATION: The old base class and test resource have been deprecated
    and will be removed in a future release.

Fixes #689
2016-03-02 17:09:31 -06:00

29 lines
496 B
ReStructuredText

.. _testing:
Testing
=======
.. autoclass:: falcon.testing.TestCase
:members:
.. autoclass:: falcon.testing.Result
:members:
.. autoclass:: falcon.testing.SimpleTestResource
:members:
.. autoclass:: falcon.testing.StartResponseMock
:members:
.. automodule:: falcon.testing
:members: capture_responder_args, rand_string, create_environ
Deprecated
----------
.. autoclass:: falcon.testing.TestBase
:members:
.. autoclass:: falcon.testing.TestResource
:members: