Event-Based Testing

Welcome!

This page is the home of my "Event-Based Testing" presentation. I most recently delivered it at betterCode() PHP on . Previous events include International PHP Conference.

Event-Based Testing

We decompose software systems into smaller subsystems. To avoid tight coupling, one such subsystem must not tell another what to do. They should collaborate using events instead. When we can recreate the state of an application by processing the log of these events, then we have implemented Event Sourcing.

This event log also comes in handy when we test our software. Come to this presentation to learn best practices for testing software systems that use modern software architecture patterns such as Event Collaboration and Event Sourcing.

Material

You can find the latest version of the material I use for this presentation here.

About me

My name is Sebastian Bergmann and I am the creator of PHPUnit, the industry-standard testing framework that has greatly improved the professionalism of PHP software development.

As founding partner of and consultant with The PHP Consulting Company (thePHP.cc), I assist teams in adopting PHPUnit, optimizing its use, refining development workflows, and writing more testable code.

Upcoming events

In case you missed my presentation at betterCode() PHP, there are plenty more chances coming up to meet me.

For example, on , I will present "Von AmigaBASIC bis KI: Eine persönliche Zeitreise durch 4 Jahrzehnte Softwareentwicklung" at the Entwickler Summit.

More events where you can meet me are listed here.

My interactive online training courses are designed to provide you with practical knowledge that you can apply immediately. The next ones starting soon are listed here.

Keep 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.