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
bb8f1d2d
Commit
bb8f1d2d
authored
May 20, 2011
by
Masao Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated: modified testing.rst
parent
316faf93
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
doc/testing.rst
doc/testing.rst
+5
-2
No files found.
doc/testing.rst
View file @
bb8f1d2d
...
...
@@ -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
applications" instructions from :doc:`usage`.
.. note::
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``
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