Notes

Linux, WebDev and other…

database

Phalcon, PHPUnit and database

I am currently writing a REST API in Phalcon PHP framework. Database is mostly handled by ORM, but IĀ also created few repositories for complex queries in raw SQL. Mocking all of this is very problematic so I decided to run tests on additional, test-only database. This database is populated by initial test data, which is […]

, , , ,