Unit testing Fluent Validation rules against EF Core entity configuration

In this post, I will share with you a solution to a problem that I see often when developing .NET applications that use both Fluent Validation and Entity Framework (Core). I'll first set the scene: Show the EF Core Entity + Configuration + Fluent Validation we'll be working on. Then, I'll show the actual problem that emerges with this approach. In the end, I'll present the solution I came up with. TL; [Read More]