@@ -55,16 +55,16 @@ This command automatically runs your application tests. Each test is a
55
55
PHP class ending with "Test" (e.g. ``BlogControllerTest ``) that lives in
56
56
the ``tests/ `` directory of your application.
57
57
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").
63
63
64
64
.. note ::
65
65
66
66
: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
68
68
missing, you can try running the recipe again using
69
69
``composer recipes:install phpunit/phpunit --force -v ``.
70
70
@@ -81,7 +81,7 @@ By convention, the ``tests/`` directory should replicate the directory
81
81
of your application for unit tests. So, if you're testing a class in the
82
82
``src/Form/ `` directory, put the test in the ``tests/Form/ `` directory.
83
83
Autoloading 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).
85
85
86
86
You can run tests using the ``bin/phpunit `` command:
87
87
@@ -391,7 +391,7 @@ Now, enable it as a PHPUnit extension:
391
391
392
392
.. code-block :: xml
393
393
394
- <!-- phpunit.xml. dist -->
394
+ <!-- phpunit.dist.xml -->
395
395
<phpunit >
396
396
<!-- ... -->
397
397
0 commit comments