Edge of the Web: Automated Testing in ASP.NET Core 1.0

Download this episode

Download Video

Download captions

Download Captions


In this Edge of the Web session, Shahed Chowdhuri shows us how to do automated unit testing in ASP.NET Core 1.0  (formerly known as ASP.NET 5) and setting up Visual Studio so that you can quickly test your apps in the real world.

  • [2:21] Why do you need automated testing? What’s the benefit here vs. manual testing?
  • [9:52] How do you get started and how can you plan for a more robust software architecture?
  • [28:44]  DEMO: How to Implement automated testing for web apps
  • [47:15] What about Human Testers?

Visual Studio 2015 Follow the conversation @msdev
 Become a Fan @ facebook.com/MSFTDev
Generic Episode Image Subscribe to our podcast via iTunes, Windows Phone Marketplace or RSS

If you're interested in learning more about the products or solutions discussed in this episode, click on any of the below links for free, in-depth information:

Websites & Blogs:



Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      This was a great starting point for ASP.NET Core 1.0 testing. Thanks Shahed.

    • User profile image

      @Mike:Glad you found it useful!

    • User profile image

      Hi Shahed, great session, very useful and informative. I know unit testing topic but dependency and injection is new to me. Can you suggest good videos or sessions, around injection similar to yours to be absorbed and understood?


    • User profile image
      Okay 👌
    • User profile image

      @eliassal1: I would suggest checking out the official documentation for now.


      I may put together a future video on DI in ASP.NET Core.


    • User profile image

      Greetings @shahedC !


      First, I would like to thank you for your guidance. But I've met a bump on the road with automated testing in VSTS.

      I have integrated XUnit 2 tests inside an ASP Core RC1 class library for an ASP MVC 6 Web App on top of dnx clr update 2. And thanks to this video it works perfectly on my laptop!

      Sadly I have tremendous difficulties to integrate thoses tests inside a VSTS Build Definition. Do you know of how I could proceed ? The XUnit documentation didn't helped me much. Do you plan to write about it yourself ? 

      Feel free to respond here or email me at anourissier(at)infinitesquare(dot)com .

      Thanks for the hardwork !



    • User profile image

      Hi Shahed,
      Found your video really helpful and i have embedded it one one of my blogs. Please find it at http://bit.ly/1NsexAE.
      Thank you for such a great session.

    • User profile image


      Great presentation but I haven't been able to replicate your solution so that I can learn it in depth especially now that aspnet core RC2 is the official build path. It would be very nice to have a completed solution using RC2 if you can find the time to do that.

      Thanks in advance,


    • User profile image

      Yes, RC2 is different, including Moq library.

      These are good starting points; however, I would like to see some examples of how to test more advanced topics like authentication handlers and policies.

      Do you know of any resources for these types of scenarios?

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.