Explore efficient test fixture management in CakePHP through this conference talk. Discover how CakePHP Fixture Factories overcome limitations in traditional approaches, enabling faster test writing and improved documentation of your application. Learn about the power of CakePHP's Object Relational Mapper, the benefits of creating test fixtures on the fly, and the implementation of a trigger-based PHPUnit test listener for refreshing test databases. Gain valuable insights on arranging tests and managing test fixtures, applicable to both CakePHP developers and those working with other PHP frameworks.
Overview
Syllabus
Intro
TESTS AND THE DB
TESTS SHOULD BE
TEST ANATOMY
CAKEPHP'S NATIVE ORM
TEST FIXTURES
CAKEPHP FIXTURE FACTORIES
PERSIST COSTS
DB CLEANING WITH TRIGGERS
Taught by
International PHP Conference