In modern architectures, loosely coupled subsystems collaborate via events rather than giving each other direct instructions. This is referred to as event sourcing if the entire state of an application can be reconstructed from these events.

I teach you proven strategies and best practices for testing event-based software. Using PHP and PHPUnit as examples, you will see how tests can be implemented to generate visual documentation of event-based software through their execution.

Comments

Please login to leave a comment

Dmitri at 13:24 on 21 Feb 2026

Really loved this talk. I think Sebastian explained well what the benefits are of having an event driven system and how you would go about testing it. I've never considered that you could render all the links between the commands and events as giant diagram that essentially documents your entire application.