Skip to content

Testing Events

Chronicle provides the EventScenario utility for testing event-appending behavior entirely in-process, with no Chronicle server, database, or network required.

GuideDescription
EventScenarioAppend events and pre-seed state using EventScenario and the Given builder
Append AssertionsAssert on IAppendResult using the built-in Should* extension methods
Event Sequence AssertionsAssert on the event sequence itself and on AppendedEventWithResult entries