8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a21fb26 commit 220e124Copy full SHA for 220e124
book/testing.rst
@@ -320,6 +320,12 @@ into your Symfony2 application::
320
The ``request()`` method takes the HTTP method and a URL as arguments and
321
returns a ``Crawler`` instance.
322
323
+.. tip::
324
+
325
+ Hardcoding the request URLs is a best practice for functional tests. If the
326
+ test generates URLS using the Symfony router, it won't detect any change
327
+ made to the application URLs which may impact the end users.
328
329
Use the Crawler to find DOM elements in the Response. These elements can then
330
be used to click on links and submit forms::
331
0 commit comments