symfony7项目使用PHPunit做单元测试:
1>目前环境要求 php8.3
需要
$ sudo apt-get install php8.3-mbstring
$ sudo apt-get install php8.3-xdebug
2>
# ./vendor/bin/phpunit tests/Controller/System/ApiTokenTest.php --filter testUnauthorizedRequest
3>phpstorm + docker 使用phpUnit:
https://jesserun.com/2018/11/01/phpstorm-phpunit-on-docker/
