Skip to content

Commit 300cf43

Browse files
committed
minor symfony#16427 Update unit_testing.rst (fzsys)
This PR was submitted for the 6.0 branch but it was merged into the 4.4 branch instead. Discussion ---------- Update unit_testing.rst <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `6.x` for features of unreleased versions). --> Commits ------- a76494f Update unit_testing.rst
2 parents c8e3422 + a76494f commit 300cf43

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

create_framework/unit_testing.rst

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ on it will exhibit the same bugs. The good news is that whenever you fix a
88
bug, you are fixing a bunch of applications too.
99

1010
Today's mission is to write unit tests for the framework we have created by
11-
using `PHPUnit`_. Create a PHPUnit configuration file in
12-
``example.com/phpunit.xml.dist``:
11+
using `PHPUnit`_. At first, install PHPUnit as a development dependency:
12+
13+
.. code-block:: terminal
14+
15+
$ composer require --dev phpunit/phpunit
16+
17+
Then, create a PHPUnit configuration file in ``example.com/phpunit.xml.dist``:
1318

1419
.. code-block:: xml
1520

0 commit comments

Comments
 (0)