@@ -55,16 +55,16 @@ This command automatically runs your application tests. Each test is a
5555PHP class ending with "Test" (e.g. ``BlogControllerTest ``) that lives in
5656the ``tests/ `` directory of your application.
5757
58- PHPUnit is configured by the ``phpunit.xml. dist `` file in the root of your
59- application. The default configuration provided by Symfony Flex will be
60- enough in most cases. Read the ` PHPUnit documentation `_ to discover all
61- possible configuration options (e.g. to enable code coverage or to split
62- your test into multiple "test suites").
58+ PHPUnit is configured by the ``phpunit.dist.xml `` file in the root of your
59+ application (in PHPUnit versions older than 10, the file is named `` phpunit.xml.dist ``).
60+ The default configuration provided by Symfony Flex will be enough in most cases.
61+ Read the ` PHPUnit documentation `_ to discover all possible configuration options
62+ (e.g. to enable code coverage or to split your test into multiple "test suites").
6363
6464.. note ::
6565
6666 :ref: `Symfony Flex <symfony-flex >` automatically creates
67- ``phpunit.xml. dist `` and ``tests/bootstrap.php ``. If these files are
67+ ``phpunit.dist.xml `` and ``tests/bootstrap.php ``. If these files are
6868 missing, you can try running the recipe again using
6969 ``composer recipes:install phpunit/phpunit --force -v ``.
7070
@@ -81,7 +81,7 @@ By convention, the ``tests/`` directory should replicate the directory
8181of your application for unit tests. So, if you're testing a class in the
8282``src/Form/ `` directory, put the test in the ``tests/Form/ `` directory.
8383Autoloading is automatically enabled via the ``vendor/autoload.php `` file
84- (as configured by default in the ``phpunit.xml. dist `` file).
84+ (as configured by default in the ``phpunit.dist.xml `` file).
8585
8686You can run tests using the ``bin/phpunit `` command:
8787
@@ -386,7 +386,7 @@ Now, enable it as a PHPUnit extension:
386386
387387.. code-block :: xml
388388
389- <!-- phpunit.xml. dist -->
389+ <!-- phpunit.dist.xml -->
390390 <phpunit >
391391 <!-- ... -->
392392
0 commit comments