Testable Database Interaction

Testable Database Interaction

Designing software systems and writing code is much easier when you do not have to process input, produce output, or interact with other systems such as database servers. It would also be pretty boring.

In this presentation, you will learn best practices and see design patterns in action that allow you to interact with your database without going crazy. In other words: you will learn how to implement testable database interaction and how to test it.

I most recently presented “Testable Database Interaction” at the International PHP Conference on .

About me

I am Sebastian Bergmann. I started writing PHPUnit in 2000 and still maintain it. In the same year I gave my first talk at a PHP conference. PHPUnit has been installed more than a billion times from Packagist, and a new major version comes out every February.

As a co-founder of The PHP Consulting Company (thePHP.cc), I work with teams on their tests: on test strategy and test design, on testable code, on fast test runs and on upgrades to current versions of PHPUnit. More on this under consulting and coaching.

Where you can meet me next is listed under events. The next dates of my training courses are in the training overview.

Upcoming events

Frankfurt am Main

PIMCORE Community Dev Days

On , I will be in Frankfurt am Main at the PIMCORE Community Dev Days. There I will give the presentation “Speed is a byproduct of trust”.

Stay up to date with PHPUnit

You can follow @phpunit@phpc.social to stay up to date with PHPUnit's development.

You can subscribe to the PHPUnit Updates newsletter to receive updates about and tips for PHPUnit.