Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leocornus/leocornus.php.sandbox
Sandbox for PHP/Zend application.
https://github.com/leocornus/leocornus.php.sandbox
Last synced: 5 days ago
JSON representation
Sandbox for PHP/Zend application.
- Host: GitHub
- URL: https://github.com/leocornus/leocornus.php.sandbox
- Owner: leocornus
- License: other
- Created: 2011-11-28T19:58:59.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2018-03-28T16:13:26.000Z (over 6 years ago)
- Last Synced: 2024-03-26T01:46:01.070Z (8 months ago)
- Language: PHP
- Homepage: http://plonexp.leocorn.com/leocornus/leocornus.php.sandbox
- Size: 2.27 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
PHP Sandbox
===========This is a play ground for PHP/Zend applications. It includes a Nginx
virtual hosting server config and some templates for application.ini,
Zend test helper class, and moreUsing phpunit
-------------Assume we have php and phpunit built on the following location:
* /usr/dev/boilerplate/php/php-build/bin/php
* /usr/dev/boilerplate/php/php-build/bin/phpunitWe could create the bin/phpunit like the following::
#!/bin/sh
/usr/dev/boilerplate/php/parts/php-build/bin/php /usr/dev/boilerplate/php/parts/php-build/bin/phpunit $@Rember to change the file mode to allow execute::
$ chmod +x bin/phpunit
Now we could execute php unit test cases::
$ bin/phpunit tests/SimpleTest.php
$ bin/phpunit tests/php-core