Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 743 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 743 Bytes

Netgen Layouts & Ibexa CMS integration

Installation instructions

INSTALL.md

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