Testing in ASP.NET Core with XUnit and MoQ by Rob Richardson


Details
ASP.NET Core has been designed from the ground up with testability in mind. XUnit is the testing framework the ASP.NET team uses to test their own code. Let's add some tests to a sample ASP.NET Core project, and see how easy it is to strip away dependencies not necessary for the test.
Rob Richardson is a software craftsman building web properties in ASP.NET and Node, Angular and React. He’s a Microsoft MVP, published author, frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on his blog at https://robrich.org/presentations and follow him on twitter at @rob_rich (https://twitter.com/rob_rich).

Testing in ASP.NET Core with XUnit and MoQ by Rob Richardson