amphp / parallel-functions

Simplified parallel processing for PHP based on Amp.
https://amphp.org/parallel-functions
MIT License
271 stars 18 forks source link

how to test? currently i'm getting Fatal error: Class 'Amp\PHPUnit\TestCase' not found #11

Closed TheTechsTech closed 6 years ago

TheTechsTech commented 6 years ago

Getting the following error when i run phpunit test on:

kelunik commented 6 years ago

Use vendor/bin/phpunit instead of a global installation. See .travis.yml for how Travis executes the tests.

TheTechsTech commented 6 years ago

ok, you are correct. it's working.

TheTechsTech commented 6 years ago

Also, that might need to be in the docs or readme somewhere. i ran local installed version vendor\bin\phpunit.bat test and everything worked.

kelunik commented 6 years ago

Feel free to open a PR. :-)