March 2025
Intermediate to advanced
202 pages
4h 45m
English
Now that you’ve experienced the core building blocks of event-sourced applications from writing code to securing systems, it’s time to start thinking about how this works on teams, at scales, and in production.
For that, you’ll need to test. The ability to reliably and easily test an application is one of the core reasons why people embrace event sourcing as a pattern. Unfortunately, testing is one of the least documented and discussed aspects of event sourcing. This leaves us with a dichotomy: it should be easy, but we don’t know how to do it.
In this chapter, you’ll see that testing event-sourced applications should be as simple as writing tests for pure functions. You’ll also see that you can use this ...
Read now
Unlock full access