bundled/flask/docs/tutorial/testing.rst @ 3e5dfa8a94ef
Use revset to calculate rev list. When using obsolescence markers, the rev numbers are not a continuous range. This patch uses revset expressions to find the LOG_PAGE_LEN previous accessible revisions and calculate older and newer links.
| author | Christophe de Vienne <cdevienne@gmail.com> |
|---|---|
| date | Mon, 27 Oct 2014 18:42:14 +0100 |
| parents | f33efe14bff1 |
| children | (none) |
.. _tutorial-testing: Bonus: Testing the Application ============================== Now that you have finished the application and everything works as expected, it's probably not a bad idea to add automated tests to simplify modifications in the future. The application above is used as a basic example of how to perform unittesting in the :ref:`testing` section of the documentation. Go there to see how easy it is to test Flask applications.