Netgen Layouts & eZ Platform integration
Installation instructions
Running tests
Running tests requires that you have complete vendors installed, so run
composer install
before running the tests.
You can run unit tests by simply calling vendor/bin/phpunit
from the repo
root. This will use an in memory SQLite database.
You can also run unit tests on a real database. After you create the database, run the tests with:
$ DATABASE=mysql://root@localhost/nglayouts vendor/bin/phpunit
where mysql://root@localhost/nglayouts
is a DSN to your MySQL database.
If you use PostgreSQL, you can use the following command:
$ DATABASE=pgsql://user:pass@localhost/nglayouts vendor/bin/phpunit
Created by:
Categories:
Downloads:
35071
Stars:
14
Forks:
2
Created:
2018-08-17
Updated:
2024-01-11