Testing MVC Controllers in ASP.NET Core

added by DotNetKicks
9/24/2019 7:34:02 PM

229 Views

In the previous article, we have learned how to write Unit Tests by using the xUnit and different attributes that xUnit provides for us. We have seen how to test validation rules inside a single validation class. But what about controllers and all the actions inside? Can we write tests for them too?


0 comments