Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit300cf43

Browse 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 containsthe bug (seehttps://symfony.com/releases for the list of maintained branches).If your pull request documents a NEW FEATURE, use the same Symfony branch wherethe feature was introduced (and `6.x` for features of unreleased versions).-->Commits-------a76494f Update unit_testing.rst
2 parentsc8e3422 +a76494f commit300cf43

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)

[8]ページ先頭

©2009-2025 Movatter.jp