我有最新的PhpStorm (2016.2)和PHPUnit phar (5.5.4)。由于某些原因,当我在PhpStorm中的项目中运行一个PhpStorm测试时,它会将--teamcity添加到run命令中,从而导致失败:
Testing started at 12:52 PM ...
Unit test suite invoked with a path to a non-unit test: --teamcity
Process finished with exit code 1
我不知道这个--teamcity选项是从哪里来的,不管我运行什么测试,甚至在从空白配置开始时,都会发生这种