Skip to content

Commit 75bd1e5

Browse files
committed
Fixes after review
1 parent d17a20f commit 75bd1e5

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

book/testing.rst

+5-11
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ their type::
686686
Testing Configuration
687687
---------------------
688688

689-
The client used by functional tests creates a Kernel that runs in a special
689+
The Client used by functional tests creates a Kernel that runs in a special
690690
``test`` environment. Since Symfony loads the ``app/config/config_test.yml``
691691
in the ``test`` environment, you can tweak any of your application's settings
692692
specifically for testing.
@@ -767,7 +767,7 @@ PHPUnit Configuration
767767

768768
Each application has its own PHPUnit configuration, stored in the
769769
``app/phpunit.xml.dist`` file. You can edit this file to change the defaults or
770-
create a ``app/phpunit.xml`` file to setup a configuration for your local
770+
create an ``app/phpunit.xml`` file to setup a configuration for your local
771771
machine only.
772772

773773
.. tip::
@@ -777,12 +777,11 @@ machine only.
777777

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

782782
.. code-block:: xml
783783
784784
<!-- app/phpunit.xml.dist -->
785-
786785
<phpunit>
787786
<!-- ... -->
788787
<testsuites>
@@ -800,7 +799,6 @@ configuration adds tests from a custom ``lib/tests`` directory:
800799
.. code-block:: xml
801800
802801
<!-- app/phpunit.xml.dist -->
803-
804802
<phpunit>
805803
<!-- ... -->
806804
<testsuites>
@@ -818,18 +816,14 @@ section:
818816
.. code-block:: xml
819817
820818
<!-- app/phpunit.xml.dist -->
821-
822819
<phpunit>
823820
<!-- ... -->
824821
<filter>
825822
<whitelist>
826-
<directory>../src</directory>
823+
<!-- ... -->
827824
<directory>../lib</directory>
828825
<exclude>
829-
<directory>../src/*/*Bundle/Resources</directory>
830-
<directory>../src/*/*Bundle/Tests</directory>
831-
<directory>../src/*/Bundle/*Bundle/Resources</directory>
832-
<directory>../src/*/Bundle/*Bundle/Tests</directory>
826+
<!-- ... -->
833827
<directory>../lib/tests</directory>
834828
</exclude>
835829
</whitelist>

0 commit comments

Comments
 (0)