Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd92545e

Browse files
committed
bugsymfony#3734 [book] [testing] fixed the path of the phpunit.xml file (javiereguiluz)
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 asapp/phpunit.xml I think that we should always use the explicitapp/phpunit.xml path, except when explaining the phpunit.xmlfile in general.Commits-------a1f5cd6 [book] [testing] fixed the path of the phpunit.xml file
2 parents499ba5c +a1f5cd6 commitd92545e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎book/testing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ of your bundle::
8989
directory, put the test in the ``Tests/Utility/`` directory.
9090

9191
Just like in your real application - autoloading is automatically enabled
92-
via the ``bootstrap.php.cache`` file (as configured by default in the ``phpunit.xml.dist``
93-
file).
92+
via the ``bootstrap.php.cache`` file (as configured by default in the
93+
``app/phpunit.xml.dist``file).
9494

9595
Running tests for a given file or directory is also very easy:
9696

@@ -777,12 +777,12 @@ machine only.
777777

778778
..tip::
779779

780-
Store the ``phpunit.xml.dist`` file in your code repository and ignore the
781-
``phpunit.xml`` file.
780+
Store the ``app/phpunit.xml.dist`` file in your code repository and ignore
781+
the ``app/phpunit.xml`` file.
782782

783783
By default, only the tests from your own custom bundles stored in the standard
784784
directories ``src/*/*Bundle/Tests`` or ``src/*/Bundle/*Bundle/Tests`` are run
785-
by the ``phpunit`` command, as configured in the ``phpunit.xml.dist`` file:
785+
by the ``phpunit`` command, as configured in the ``app/phpunit.xml.dist`` file:
786786

787787
..code-block::xml
788788

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp