我的個人博客:逐步前行STEP
1、執行單例測試
./vendor/bin/phpunit
2、執行指定單例測試文件
./vendor/bin/phpunit tests/BlogTest.php
3、執行指定測試函數
./vendor/bin/phpunit --filter testPostArticle
4、執行指定文件的指定測試函數
./vendor/bin/phpunit --filter testPostArticle tests/BlogTest.php