bundled/flask/docs/tutorial/testing.rst @ 8be7ac46f0ec

Fix web tests

The index page always returns a 200 http status, even with an unknown revision
author Christophe de Vienne <cdevienne@gmail.com>
date Fri, 21 Nov 2014 18:35:45 +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.