Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
862cf398
Commit
862cf398
authored
May 27, 2013
by
Tobias Sjösten
Committed by
Fabien Potencier
Jul 03, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added instructions for installing dev testing package
parent
c2148890
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
doc/testing.rst
doc/testing.rst
+10
-0
No files found.
doc/testing.rst
View file @
862cf398
...
@@ -76,6 +76,16 @@ use it by making your test extend it::
...
@@ -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
To make your application testable, you need to make sure you follow "Reusing
applications" instructions from :doc:`usage`.
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``
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::
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment