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

Sign in to queue

The Discussion

  • User profile image
    Mike

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

  • User profile image
    shahedC

    @Mike:Glad you found it useful!

  • User profile image
    eliassal1

    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

  • User profile image
    VSA
    Okay 👌
  • User profile image
    shahedC

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

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

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

     

  • User profile image
    Alex​Nourissier

    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
    Rekha

    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

  • User profile image
    howardlo

    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

     

  • User profile image
    Patrick

    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?

Add Your 2 Cents