tornado/docs/testing.rst

38 lines
703 B
ReStructuredText
Raw Normal View History

2011-06-11 21:48:46 +00:00
``tornado.testing`` --- Unit testing support for asynchronous code
==================================================================
.. automodule:: tornado.testing
2011-06-19 17:45:35 +00:00
Asynchronous test cases
-----------------------
.. autoclass:: AsyncTestCase
:members:
.. autoclass:: AsyncHTTPTestCase
:members:
.. autoclass:: AsyncHTTPSTestCase
:members:
2011-06-19 17:45:35 +00:00
Controlling log output
----------------------
2012-09-10 01:43:52 +00:00
.. autoclass:: ExpectLog
:members:
2011-06-19 17:45:35 +00:00
.. autoclass:: LogTrapTestCase
:members:
Test runner
-----------
.. autofunction:: main
Helper functions
----------------
.. autofunction:: bind_unused_port
.. autofunction:: get_unused_port