Skip to content

Commit

Permalink
Update testing.rst
Browse files Browse the repository at this point in the history
| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3
| Fixed tickets |
  • Loading branch information
ifdattic authored and wouterj committed Jan 17, 2015
1 parent 0d059ff commit 8b6cd17
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions book/testing.rst
Expand Up @@ -558,7 +558,8 @@ narrow down your node selection by chaining the method calls::
return false;
}
})
->first();
->first()
;

.. tip::

Expand Down Expand Up @@ -720,8 +721,10 @@ configuration option:
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:swiftmailer="http://symfony.com/schema/dic/swiftmailer"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/swiftmailer http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd">
xsi:schemaLocation="http://symfony.com/schema/dic/services
http://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/swiftmailer
http://symfony.com/schema/dic/swiftmailer/swiftmailer-1.0.xsd">
<!-- ... -->
<swiftmailer:config disable-delivery="true" />
Expand Down Expand Up @@ -784,8 +787,9 @@ machine only.
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 ``app/phpunit.xml.dist`` file:
directories ``src/*/*Bundle/Tests``, ``src/*/Bundle/*Bundle/Tests``,
``src/*Bundle/Tests`` are run by the ``phpunit`` command, as configured
in the ``app/phpunit.xml.dist`` file:

.. code-block:: xml
Expand All @@ -796,6 +800,7 @@ by the ``phpunit`` command, as configured in the ``app/phpunit.xml.dist`` file:
<testsuite name="Project Test Suite">
<directory>../src/*/*Bundle/Tests</directory>
<directory>../src/*/Bundle/*Bundle/Tests</directory>
<directory>../src/*Bundle/Tests</directory>
</testsuite>
</testsuites>
<!-- ... -->
Expand Down

0 comments on commit 8b6cd17

Please sign in to comment.