我将Codeception与Laravel 4一起使用。特别是我正在尝试使用远程代码覆盖,以便我可以在代码覆盖结果中包含验收测试。
配置了带有 remote_enable 的 XDebug,并安装了c3.php并将其包含在“public/index.php”中。
在 Windows 上,一切都按预期工作。但是在 Ubuntu 12.04 LTS(使用 PHP5.4)上,我得到了这个异常:
[ErrorException] file_get_contents(http://localhost/c3/report/clear):
failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
我究竟做错了什么?