Create fake user for ASP.NET Core integration tests

added by DotNetKicks
1/14/2020 4:49:26 AM

290 Views

After getting done with fake users for ASP.NET Core controller unit tests I wanted to make fake users available also in integration tests. It took some inventing and hacking but I made it work. This blog post shows you how to create fake users for ASP.NET Core integration tests and write effective extension methods to keep integration tests shorter.


0 comments