Permalink
Browse files

bug #3734 [book] [testing] fixed the path of the phpunit.xml file (ja…

…viereguiluz)

This PR was merged into the 2.3 branch.

Discussion
----------

[book] [testing] fixed the path of the phpunit.xml file

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | -

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.

Commits
-------

a1f5cd6 [book] [testing] fixed the path of the phpunit.xml file
  • Loading branch information...
weaverryan committed Apr 2, 2014
2 parents 499ba5c + a1f5cd6 commit d92545e998d8999435e554ab03cbe6eee5f05e83
Showing with 5 additions and 5 deletions.
  1. +5 −5 book/testing.rst
View
@@ -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

0 comments on commit d92545e

Please sign in to comment.