質問するログイン新規登録

回答編集履歴

1

修正

2020/07/04 13:13

投稿

退会済みユーザー
answer CHANGED
@@ -8,4 +8,11 @@
8
8
  class RestaurantCheckTest extends PHPUnit\Framework\TestCase{に修正する。
9
9
 
10
10
  3.RestaurantCheckTest.phpの最後から2行目$result = resturant_check($meal,$tax,$tip);を
11
- $result = restaurant_check($meal,$tax,$tip);
11
+ $result = restaurant_check($meal,$tax,$tip);
12
+
13
+ 4.phpunit.cmdを追加する
14
+
15
+ 5.https://phar.phpunit.de/phpunit.pharのリンクをクリックしphpunit-9.2.5 .pharを
16
+
17
+ ダウンロードして,C:\MyPhpUnit\phpunit_chap13\に張り付けて名前をphpunit.pharに変更する。
18
+ C:\MyPhpUnit\phpunit_chap13\phpunit.phar