Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

Conversation

caoglish
Copy link
Contributor

@caoglish caoglish commented Jan 9, 2017

add PHPUNIT test suites and PHPUNIT config files so that the project can unit test the php code.

composer install
vendor/bin/phpunit

If you have already install phpunit globally, just run:

phunit

@blakeembrey
Copy link
Owner

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?

@caoglish
Copy link
Contributor Author

caoglish commented Jan 10, 2017

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.

@blakeembrey blakeembrey merged commit 8eaf1f1 into blakeembrey:master Jan 10, 2017
blakeembrey pushed a commit that referenced this pull request Sep 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants