forked from greenpeace/global-ggw-api-test
Basic scripts to test the API and serve as boilerplate
License
stripthis/ggw_api_test
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
How to run the demo? ----------------------- 1. Copy lib/config.php.default to config.php $ cp lib/config.php.default lib/config.php 2. Edit config php to match the environment your want to test See example in the file itself. How to run the test? ----------------------- 1. Make sure you have a working config file 2. Make sure you have composer installed See: https://getcomposer.org/download/ 3. Install phpunit via composer $ composer update 4. Profits! $ ./vendor/phpunit/phpunit/phpunit tests/ -c tests/phpunit.xml You can specify which testsuite to use example : $ ./vendor/phpunit/phpunit/phpunit tests/ --testsuite public -c tests/phpunit.xml
About
Basic scripts to test the API and serve as boilerplate
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%