Archived articles - January 2021

Archive for January 2021 (1)

Mocking view mapped DbSets with XUnit in EF Core
Writing unit tests for view bounded entities in EF Core
 
0
Using in-memory DbContext is a great way to mock your actual DbContext in unit tests. You basically initialize the instance of your DbContext and seed some random data before you assert the result of your repository method...read more

.NET

read more

JavaScript

read more

SQL/T-SQL

read more

Umbraco CMS

read more