Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
ezpublish-legacy-tests | eZ Publish Legacy | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Execute PHPUnit tests for eZ Publish Legacy, optionally with one or more
activated extensions.
With Phing a clean eZ Publish installation is
generated and PHPUnit tests are perfomed.
When the build is marked as failed, this means that eZ Publish Legacy or one
of the tested extensions did not pass the tests. Click on the badges to see
what the problem was.
Unfortunately, builds can not be triggered automatically as soon as one
of ezsystems' repositories is updated. So the Travis CI build status only
gets updated when triggered through a push here.
You can always clone this repository and perform the tests on your machine.
Out of the box, the script expects a MySQL server instance at 127.0.0.1, a database named ezpublish_test,
and user root with no password. If you want to override those values, copy the file config/config.properties to
config/config_local.properties and change the variables.
See the Composer Website for further information.
See the PHPUnit Website for further information.
Clone this repository and install the dependencies
git clone https://github.com/jeromegamez/ezpublish-legacy-tests.git
cd ezpublish-legacy-tests
composer install
vendor/bin/phing test
vendor/bin/phing test -Dextensions=ezprestapiprovider
vendor/bin/phing test -Dextensions=ezprestapiprovider,ezcomments,ezfind