【发布时间】:2016-03-23 17:42:21
【问题描述】:
我想用 PHPUnit 运行 Selenium 测试,但出现了这个错误,我不知道它试图告诉我什么:
$ phpunit ApplicationTest/Controller/StationTest.php
致命错误:未捕获的异常 'Zend\Config\Exception\RuntimeException' 与消息 'Filename "" 找不到相对于工作目录' C:\Users*****\Documents*****\******\vendor\zendframework\zendframework\library\Zend\Config\Factory.php:73
知道为什么会这样吗?
【问题讨论】:
-
It is in error reposne
'Filename "" cannot be found relative to the working directory' in表示您在代码中的某处引用了不存在的文件“文件名” -
正如@dafyk 已经指出的那样,这可能是原因,但如果您想要更多有用的回复,您需要分享您的 StationTest 代码