"Test your event-sourcing aggregates and subscribers with a clear given / when / then notation."
- A given / when / then test case for aggregate behaviour
- A
whenthat also dispatches commands through your#[Handle]methods - Aggregate state assertions with closures
- A subscriber utility for setup, run and teardown
- and much more...
composer require --dev patchlevel/event-sourcing-phpunitWe are open to contributions as long as they are in line with our BC-Policy.
Also note that the composer.lock is always generated with the newest supported PHP version as this is the version our tools run in the CI.