Unit Testing: Existing Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.พ. 2025
  • This is the fourth of a four part series where Robert is joined by Phil Japikse to discuss unit testing. This series expands on the 2017 Unit Testing episode. In this final episode, Robert and Phil tie it all together. How do you add Unit Testing into existing code? When should you, as well as when should you not?
    Links:
    www.skimedic.co...
    github.com/ski...
    xunit.github.io/
    github.com/moq...
    Episodes in this series:
    Test Driven and Scenario Based Testing
    xUnit
    Moq Framework
    Existing Code (this episode)

ความคิดเห็น • 11

  • @thatnod
    @thatnod 6 ปีที่แล้ว +1

    Wow, you guys look so... Damn. Tired.
    Excellent content, so mission accomplished!
    Take a break!

    • @gedmoretta6825
      @gedmoretta6825 6 ปีที่แล้ว +1

      Ashley J. Lawson Tired? I think you mean drunk. I’m surprised the Channel 9 editors allowed this to be published. This is probably the worst Toolbox video I’ve watched.

  • @asifsarwer-1
    @asifsarwer-1 2 ปีที่แล้ว

    Best series on Testing

  • @GaryJohnWalker1
    @GaryJohnWalker1 6 ปีที่แล้ว

    Liked the moq episode - moq's not as fearsome as it can seem at first. And why xunit should really replace WHAT'S CURRENTLY the "automatic" choice of nunit. But this was the most useful ep. Don't try and pay off all the technical debt right now. Concentrate on the one bit you are changing.

  • @bbry323
    @bbry323 3 ปีที่แล้ว

    I really enjoyed the 'multi-line comment' short segment 😇 @~830mins

  • @technothirsty8105
    @technothirsty8105 6 ปีที่แล้ว

    Is it possible to do unit testing of my asp.net project??

    • @JohnLudlow
      @JohnLudlow 6 ปีที่แล้ว +2

      Yes, since your project emits a .dll assembly. Though your life will be simpler if you move most of your non-web code to class libraries, leaving only a thin shell in your actual asp.net project (what I call the application layer).

    • @akostipecukazuje4862
      @akostipecukazuje4862 6 ปีที่แล้ว

      similar as any C# code...

  • @user-yr1uq1qe6y
    @user-yr1uq1qe6y 6 ปีที่แล้ว +1

    /* before .net even */

  • @kurkuries
    @kurkuries 6 ปีที่แล้ว

    I think I'm the first viewer...😃