Commit bb8f1d2d authored by Masao Maeda's avatar Masao Maeda

updated: modified testing.rst

parent 316faf93
...@@ -73,8 +73,11 @@ use it by making your test extend it:: ...@@ -73,8 +73,11 @@ use it by making your test extend it::
... ...
} }
To make your application testable, you need to make sure you follow "Reusing .. note::
applications" instructions from :doc:`usage`.
To make your application testable, you need to make sure you follow "Reusing
applications" instructions from :doc:`usage`.
If you want to test single file app use Symfony2's Reqeuest instead.
For your WebTestCase, you will have to implement a ``createApplication`` For your WebTestCase, you will have to implement a ``createApplication``
method, which returns your application. It will probably look like this:: method, which returns your application. It will probably look like this::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment