Commit c3387f6f authored by Fabien Potencier's avatar Fabien Potencier

merged branch tobiassjosten/patch-1 (PR #713)

This PR was squashed before being merged into the master branch (closes #713).

Discussion
----------

Added instructions for installing dev testing package

As per [discussion about this requirement](https://groups.google.com/d/topic/silex-php/FfgPucE2Bu4/discussion).

Commits
-------

862cf398 Added instructions for installing dev testing package
parents 3206654e 862cf398
......@@ -76,6 +76,16 @@ use it by making your test extend it::
To make your application testable, you need to make sure you follow "Reusing
applications" instructions from :doc:`usage`.
.. note::
If you want to use the Symfony2 `WebTestCase` you will need to explicitly
install its dependencies for your project. Add the following to your
`composer.json` file.
"require-dev":{
"symfony/browser-kit": ">=2.3,<2.4-dev"
}
For your WebTestCase, you will have to implement a ``createApplication``
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