Resetting Marten Database State Between Tests

added by DotNetKicks
4/25/2022 3:30:05 PM

274 Views

TL;DR: Marten has a new method in V5 called ResetAllData() that's very handy for rolling back database state to a known point in automated tests. I'm a big believer in utilizing intermediate level integration tests. By this I mean the middle layer of the typical automated testing pyramid where you're most definitely testing through your...


0 comments