Skip to content

Latest commit

 

History

History
 
 

samples

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MyTested.AspNetCore.Mvc Samples

Here you can find a few working samples, which will get you started with the library.

Application Samples

  • Blog - fully-featured web application sample showing how to use MyTested.AspNetCore.Mvc with the best coding practices in mind. Uses AutoMapper, Moq, Shouldly and xUnit.
  • MusicStore - sample showing how to use MyTested.AspNetCore.Mvc with an automatically resolved TestStartup class for testing controllers, view components and routes. Uses the official ASP.NET Core MVC test application and xUnit.

Functional Test Samples

  • AutoFac - minimalistic functional sample showing how to use MyTested.AspNetCore.Mvc with a third-party dependency injection container. Uses AutoFac and xUnit.
  • ApplicationParts - minimalistic functional sample testing whether controllers are found correctly when registered from external assemblies. Uses manual Startup configuration and NUnit.
  • NoStartup - minimalistic functional sample showing how to use the testing library without any globally configured Startup class. Uses MSTest.
  • WebStartup - minimalistic functional sample showing how to use the testing library with the web application's Startup class. Uses xUnit.