Skip to content

Commit a76494f

Browse files
fzsyswouterj
authored andcommitted
Update unit_testing.rst
1 parent c8e3422 commit a76494f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

create_framework/unit_testing.rst

Lines changed: 7 additions & 2 deletions
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)