Inject users and roles dynamically to ASP.NET Core integration tests

added by DotNetKicks
1/22/2020 2:22:50 PM

321 Views

After getting fake authenticated user to ASP.NET Core integration tests I made step further and introduced the way to use different user accounts. Using multiple users and roles instead of one test users is very common scenario in web applications. During my carreer I have seen only few business applications that doesn't use different roles.


0 comments