Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WAMP webception hangs in helper.php #40

Open
cjhille opened this issue Mar 17, 2015 · 0 comments
Open

WAMP webception hangs in helper.php #40

cjhille opened this issue Mar 17, 2015 · 0 comments

Comments

@cjhille
Copy link

cjhille commented Mar 17, 2015

I'm running the current Webception trunk on a WAMP stack and I can't get it to run webdriver tests. So far I've tried several php versions.

I temporarily fixed the windows php.exe path problem by adding
PATH=%PATH%;"D:\xampp\php"
to the codecept.bat, so Webception is able to execute php.

However the run_terminal_command() in helper.php seems to infinitely loop at
while ($line = fgets($pipes[1])) {
...
}
and php throws an execution time error after some time.

Running the excat same project on OS X works just fine, so it's unlikely to be a misconfiguration

Another strange thing I noticed was, that on WAMP webceptions can't seem to get testpath right. Here is a debug trace of the $command (helper.php) variable. Note that the first few chars of the filepath are missing. Both issues could be related.

D:\xampp\htdocs\webception\App\Config/../../vendor/bin/codecept run --no-colors --config="D:\xampp\htdocs\webception/codeception.yml" acceptance ocs\webception\tests/acceptance\test\TestCept.php 2>&1

Has anybody been able to get webception running on WAMP?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant