Entries:
Comments:
Discussions:

Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

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

53 minutes, 17 seconds

Download

Right click “Save as…”

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
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:

Tags:

Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
    Unsubscribing
    Subscribing
  • MikeMike

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

  • @Mike:Glad you found it useful!

  • 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?

    Thanks

  • VSAVSA
    Okay 👌
  • @eliassal1: I would suggest checking out the official documentation for now.

    http://docs.asp.net/en/latest/fundamentals/dependency-injection.html

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

     

  • 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 !

     

     

  • RekhaRekha

    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.
    Regards
    Rekha

  • Shadhed,

    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,
    Howard

     

  • PatrickPatrick

    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?

Remove this comment

Remove this thread

Close

Comments closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.