Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

CakePHP Test Fixture Factories

International PHP Conference via YouTube

Overview

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.

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

Reviews

Start your review of CakePHP Test Fixture Factories

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.