C# ASP.NET Core 3 - Voting System - Ep17 - Integration Testing Service Level (Advanced)
Raw Coding
In this episode we take a look in to using the microsoft testing framework to test our application as a service and again we take a look at creating a vote and the primary hurdles we jump over are getting anti forgery tokens and authentication. Towards the end we also clean up our test to see how we can re-use code as much as possible and make the tests more readable.
Docs: https://docs.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-3.1
Source: https://github.com/T0shik/raw-coding-voting-system
Come join the Discord channel: https://discord.gg/R9A8yq4
Consider Supporting me on Patreon: https://www.patreon.com/raw_coding
Shared Hosting or ASP.NET Core (Affiliate Link): http://www.SmarterASP.NET/index?r=Toshik
Take care of your body! Take on the most exciting sport out there Tricking! KojosTricklab - https://www.kojostricklab.com/?wpam_id=93 ... https://www.youtube.com/watch?v=myiQpP7tUKA
325126314 Bytes