在Docker Terminal中运行容器中的PHPUnit
概述
效果
James@HB038 MINGW64 ~/docker-php-dev/www/testdemo (master)
$ ls
BankAccount.php BankAccountTest.php bootstrap.php phpunit.xml
James@HB038 MINGW64 ~/docker-php-dev/www/testdemo (master)
$ phpunit --testdox BankAccountTest
PHPUnit 7.0.2 by Sebastian Bergmann and contributors.
BankAccount
✔ Balance is initially zero
✔ Balance cannot become negative
✔ Balance cannot become negative
Time: 131 ms, Memory: 10.00MB
OK (3 tests, 3 assertions)正文
Last updated