-
Notifications
You must be signed in to change notification settings - Fork 148
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
Atoum tests blocked on windows #49
Comments
It's a PHP bug on Windows which depend of PHP version and Windows version. |
So right now Atoum can't be used on windows ? I can try to help you. |
You can use it, not test itself because some unit tests are UNIX dependant. |
In classes/test.php, there is a piece of code which use stream_get_contents to read stdout and stderr. You only need to read the one which is in second place first. |
I'm not sure that this solution works for all Windows version. |
You're right. I had trouble with that solution but it allows me to find why the test did not run at that time. For now, i did not find any solution too. |
Can you try the "engine" branch (https://github.com/mageekguy/atoum/tree/engine), please ? |
First thing, don't forget to said in documentation to set PHPBIN to php executable on Windows. => mageekguy\atoum\tests\units\autoloader::testGetDirectories():
|
And if you don't use the PHAR ? |
Other fail :
|
php mageekguy.atoum.phar --testIt
The text was updated successfully, but these errors were encountered: