如果有多个人开发项目,用phpunit做测试,他们的测试用例可能有冲突,控制台执行php think unit 怎么做指定文件,或者创建不同的tests文件夹,又或者怎么做隔离啥的??
php think unit
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.
..测试成功!
Time: 423 ms, Memory: 10.00MB
如果有多个人开发项目,用phpunit做测试,他们的测试用例可能有冲突,控制台执行php think unit 怎么做指定文件,或者创建不同的tests文件夹,又或者怎么做隔离啥的??
php think unit
PHPUnit 4.8.36 by Sebastian Bergmann and contributors.
..测试成功!
Time: 423 ms, Memory: 10.00MB
phpunit --filter testBasicExample
phpunit : 无法将“phpunit”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1
+ phpunit --filter testBasicExample
+ ~~~~~~~
+ CategoryInfo : ObjectNotFound: (phpunit:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException