문제

I'm using Codeception with Laravel 4. In particular I'm trying to use remote code coverage so that I can include acceptance testing in the code coverage results.

XDebug with remote_enable are configured, and c3.php is installed and included in 'public/index.php'.

On Windows everything works as expected. But on Ubuntu 12.04 LTS (with PHP5.4) I get this exception:

 [ErrorException] file_get_contents(http://localhost/c3/report/clear): 
 failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

What am I doing wrong?

도움이 되었습니까?

해결책

This was easy to fix. There was an error in the path when including c3.php from index.php. The Apache error log made this clear.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top