How do you unit test an ASP.NET Core controller or model object?

前端 未结 3 1174
既然无缘
既然无缘 2020-12-15 05:47

I am trying to get some controller, model, and repository (data access) C# classes under unit test, in Visual Studio 2015, with ASP.NET Core MVC (ASP.NET 5 during the previe

3条回答
  •  情歌与酒
    2020-12-15 06:12

    The xUnit team is doing a great job updating their documentation.

    In order to have information always updated, refer to the xUnit documentation at:

    Getting Started with xUnit.net

提交回复
热议问题