安装教程参考说明Windows版本下安装哪个盘符都无所谓#当然自带环境变量,全局配置操作更方便。全局配置,配置环境变量的路径为“Createanexternalwrappingbatchscript(finallygetC:binphpunit.cmd):”官方教程ConfigurationComposer参考中第五步的路径例如{“autoload”:{“classmap":["src/"]},#core"require-dev":{"phpunit/phpunit":"^8"}}安装依赖composerinstall常用操作示例phpunit--bootstrapvendor/autoload.phptests/EmailTest//测试自己写的Email类phpunit--bootstrapvendor/autoload.php--testdoxtests//testDox查看测试结果参数说明--testdox--colors--verbose测试初始化??setUp常用断言函数assertTrueassertFalseassertInstanceOfassertSameassertEqualsassertEmptyassertArrayNotHasKey
