From a1f5cd6da5128a215dbd30345cd88a134cfe492c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Sat, 29 Mar 2014 11:12:22 +0100 Subject: [PATCH] [book] [testing] fixed the path of the phpunit.xml file Sometimes is referenced as phpunit.xml and other times as app/phpunit.xml I think that we should always use the explicit app/phpunit.xml path, except when explaining the phpunit.xml file in general. --- book/testing.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/book/testing.rst b/book/testing.rst index bad45c44b2f..4d1a635d08f 100644 --- a/book/testing.rst +++ b/book/testing.rst @@ -89,8 +89,8 @@ of your bundle:: directory, put the test in the ``Tests/Utility/`` directory. Just like in your real application - autoloading is automatically enabled -via the ``bootstrap.php.cache`` file (as configured by default in the ``phpunit.xml.dist`` -file). +via the ``bootstrap.php.cache`` file (as configured by default in the +``app/phpunit.xml.dist`` file). Running tests for a given file or directory is also very easy: @@ -777,12 +777,12 @@ machine only. .. tip:: - Store the ``phpunit.xml.dist`` file in your code repository and ignore the - ``phpunit.xml`` file. + Store the ``app/phpunit.xml.dist`` file in your code repository and ignore + the ``app/phpunit.xml`` file. By default, only the tests from your own custom bundles stored in the standard directories ``src/*/*Bundle/Tests`` or ``src/*/Bundle/*Bundle/Tests`` are run -by the ``phpunit`` command, as configured in the ``phpunit.xml.dist`` file: +by the ``phpunit`` command, as configured in the ``app/phpunit.xml.dist`` file: .. code-block:: xml