Closed caoglish closed 7 years ago
Awesome, cheers! Do you think we should add some docs for this and/or update the npm test
script to run both JS and PHP test suites?
Yes, I am trying to do this.
However if only add && PHPUnit
in the test section, anything failed will cause test stopped. Also, PHPUnit need to be install globally.
Also if add && vendor/bin/phpunit
, this will not run on windows.
Right now this is the issue. we need to think way avoid this.
Anyway, we can make PHPUnit works then solve this issue.
add PHPUNIT test suites and PHPUNIT config files so that the project can unit test the php code.
If you have already install phpunit globally, just run: