Start Your TDD Journey with C# in 15 MINUTES

Поделиться
HTML-код
  • Опубликовано: 24 дек 2024

Комментарии • 45

  • @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 🙏

  • @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 😉

  • @toannc90
    @toannc90 9 месяцев назад +1

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

  • @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  Месяц назад

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

  • @igorvenancio4153
    @igorvenancio4153 Год назад +1

    I finally understood the process. Thank you!

  • @marceloleoncaceres6826
    @marceloleoncaceres6826 3 месяца назад

    Thanks for sharing your time and knowledge

  • @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: ruclips.net/video/x5hsO6R6Me8/видео.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!

  • @WhoAmI-uz6ro
    @WhoAmI-uz6ro 10 месяцев назад +1

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

    • @gui.ferreira
      @gui.ferreira  10 месяцев назад +1

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

  • @KineticCode
    @KineticCode 2 года назад +1

    Great video Gui

  • @heronguerrieri
    @heronguerrieri 13 дней назад

    Só BR fazendo conteúdo brabo demais kkk

  • @zaidrj7374
    @zaidrj7374 5 месяцев назад

    Thank you Gui

  • @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 😁

  • @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 2 месяца назад +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  2 месяца назад

      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 😉

  • @phyokyaw7020
    @phyokyaw7020 8 месяцев назад

    So Cool

  • @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.

  • @szymonscholz4646
    @szymonscholz4646 2 месяца назад

    typeof(string)

  • @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 10 месяцев назад

    Except complex systems have so many dependencies.

    • @gui.ferreira
      @gui.ferreira  10 месяцев назад

      ruclips.net/video/x5hsO6R6Me8/видео.htmlsi=UZsB-SWYhaxDamZx

  • @starmole5000
    @starmole5000 Год назад

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

  • @arishsheikh3000
    @arishsheikh3000 Год назад

    greaT