We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e3422 commit a76494fCopy full SHA for a76494f
create_framework/unit_testing.rst
@@ -8,8 +8,13 @@ on it will exhibit the same bugs. The good news is that whenever you fix a
8
bug, you are fixing a bunch of applications too.
9
10
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``:
+using `PHPUnit`_. At first, install PHPUnit as a development dependency:
+
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``:
18
19
.. code-block:: xml
20
0 commit comments