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

Commitaba7b31

Browse files
authored
Update unit_testing.rst
1 parent82bc8cf commitaba7b31

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎create_framework/unit_testing.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ must be sure that it behaves as advertised. If not, all the applications based
77
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

10+
At first, add a (development-time) dependency on phpunit/phpunit to your
11+
``composer.json`` file:
12+
13+
..code-block::install
14+
15+
composer require --dev phpunit/phpunit
16+
1017
Today's mission is to write unit tests for the framework we have created by
1118
using `PHPUnit`_. Create a PHPUnit configuration file in
1219
``example.com/phpunit.xml.dist``:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp