Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 300cf43

Browse filesBrowse files
committed
minor #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
Copy full SHA for 300cf43

File tree

1 file changed

+7
-2
lines changed
Filter options

1 file changed

+7
-2
lines changed

‎create_framework/unit_testing.rst

Copy file name to clipboardExpand all lines: create_framework/unit_testing.rst
+7-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.