Start Your TDD Journey with C# in 15 MINUTES

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

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

  • @AboutCleanCode
    @AboutCleanCode 2 ปีที่แล้ว +10

    What I like about TDD is that it turns the focus back to features and scenarios and demands to only implement what is needed to fulfill those. I often observed that this results in less "fancy infrastructure" and simpler code which just gets the job done.

    • @gui.ferreira
      @gui.ferreira  2 ปีที่แล้ว +1

      100%
      We are terrible planners, so why would we plan the perfect infrastructure before starting? 😉

  • @kaansal9523
    @kaansal9523 2 ปีที่แล้ว +4

    Cleanest TDD video I have ever seen. I watched multiple TDD tutorials but I didn't understood why it is important. Now I understand how easy to refactoring a method in TDD.

    • @gui.ferreira
      @gui.ferreira  2 ปีที่แล้ว +2

      Thanks Kaan! Your comment made my day 🙏

  • @toannc90
    @toannc90 9 หลายเดือนก่อน +1

    It's a great one and thank you for your knowledge that shared.

    • @gui.ferreira
      @gui.ferreira  8 หลายเดือนก่อน

      Thank you 🙏

  • @marceloleoncaceres6826
    @marceloleoncaceres6826 2 หลายเดือนก่อน

    Thanks for sharing your time and knowledge

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

    I finally understood the process. Thank you!

    • @gui.ferreira
      @gui.ferreira  ปีที่แล้ว

      Great! Really happy with that!

  • @moki_toki
    @moki_toki 2 ปีที่แล้ว +4

    Hey Gui! I'm a fellow software engineer from Portugal, advocating for TDD and other extreme programming practices on DevOps teams.
    Great video with a pragmatic approach! I will refer to your channel as proof that we (in Portugal) have great industry communicators as well, and we are not alone in our endeavor.
    I also agree very much with your take on Hexagonal and Clean architectures.

    • @gui.ferreira
      @gui.ferreira  2 ปีที่แล้ว

      Olá Paulo!
      Thanks for the comment. I'm glad you find it interesting.
      Let's keep showing what Portuguese people are capable of 😉

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

    Hey Gui, I'd love to see more about TDD.
    Like: how would you use TDD to handle more complex stuff such as methods that call other services? Mocks all the way or would you use another approach?

    • @gui.ferreira
      @gui.ferreira  2 ปีที่แล้ว +3

      Noted!
      That it's in fact one common challenge. Let me think about how to explain that in a simple and clear way, and I will get back with a video on that. 😉

    • @gui.ferreira
      @gui.ferreira  2 ปีที่แล้ว +4

      Hi Davide,
      I have a new video on it: th-cam.com/video/x5hsO6R6Me8/w-d-xo.html
      Let me know what you think about it.

    • @martorulez
      @martorulez 6 หลายเดือนก่อน +1

      @@gui.ferreira This is absolute class! Well done.

    • @gui.ferreira
      @gui.ferreira  6 หลายเดือนก่อน

      @@martorulez Thank you!

  • @zaidrj7374
    @zaidrj7374 4 หลายเดือนก่อน

    Thank you Gui

  • @mintr510
    @mintr510 หลายเดือนก่อน

    Hello Gui. Thank you very much for this video. I am thankful, I wasn't expecting to understand TDD, I only know ADHD 😆. I am a slow learner, but your video was very effective ! :D

    • @gui.ferreira
      @gui.ferreira  25 วันที่ผ่านมา

      Glad to hear that! 🙏
      Feel free to ask any question

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

    0:05 this little thing had me laughing so hard I don't know why haha

    • @gui.ferreira
      @gui.ferreira  ปีที่แล้ว +1

      And this comment also made me smile 😁

  • @WhoAmI-uz6ro
    @WhoAmI-uz6ro 9 หลายเดือนก่อน +1

    Osh, agr que vi teu nome, é brasileiro né bonitão kkkkkkkk, ótimo video mano, me salvou

    • @gui.ferreira
      @gui.ferreira  9 หลายเดือนก่อน +1

      Falo a mesma lingua mas não sou brasileiro. 😅 Português

  • @KineticCode
    @KineticCode 2 ปีที่แล้ว +1

    Great video Gui

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

    Bom encontrar um video bacano feito por um tuga, reparei logo nas primeiras frases, eheh.
    Abraço!

    • @gui.ferreira
      @gui.ferreira  ปีที่แล้ว +1

      Foi o sotaque? 😅 abraço Rui!

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

      @@gui.ferreira foi! 😁

    • @gui.ferreira
      @gui.ferreira  ปีที่แล้ว

      @@eusouorui Não estou certo que isso seja bom 😅

  • @HansMilling-xm2nz
    @HansMilling-xm2nz หลายเดือนก่อน +1

    Shouldn't you have written the test for IsDivisibleBy first before implementing the method? And you cantually did not implement a test for it at all. Anyway, great video that explains the principle of test driven development.

    • @gui.ferreira
      @gui.ferreira  หลายเดือนก่อน

      Minute 11:15? If so, I don't want to add new tests during a refactoring. It was just an internal implementation detail that changed and the external behaviour was still covered by the existing tests 😉

  • @szymonscholz4646
    @szymonscholz4646 หลายเดือนก่อน

    typeof(string)

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

    why do you prefer the switch statement over the if statements?

    • @gui.ferreira
      @gui.ferreira  ปีที่แล้ว +1

      It's a Switch Expression.
      I use them often, but in this case, I want to demonstrate that you can refactor the code confidently since you have tests in place.

  • @phyokyaw7020
    @phyokyaw7020 7 หลายเดือนก่อน

    So Cool

  • @hendrykhoza4782
    @hendrykhoza4782 ปีที่แล้ว

    A linux user here... how do you run test in terminal.

    • @gui.ferreira
      @gui.ferreira  ปีที่แล้ว

      Hi! Once dotnet CLI is installed, simply run `dotnet test`: learn.microsoft.com/en-us/dotnet/core/tools/dotnet-test

  • @vincentlee8398
    @vincentlee8398 9 หลายเดือนก่อน

    Except complex systems have so many dependencies.

    • @gui.ferreira
      @gui.ferreira  9 หลายเดือนก่อน

      th-cam.com/video/x5hsO6R6Me8/w-d-xo.htmlsi=UZsB-SWYhaxDamZx

  • @starmole5000
    @starmole5000 11 หลายเดือนก่อน

    Please, none of those weird movie clip inserts.
    Other than that of course thanks for the content :)

  • @arishsheikh3000
    @arishsheikh3000 ปีที่แล้ว

    greaT