.NET 🚀🔥 : Mastering .NET Development with TDD with XUNIT ✅❌✅❌✅❌

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

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

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

    It has a clear and detailed explanation to test controllers and services. Thank you.

  • @essence6798
    @essence6798 Месяц назад

    btw, u can use IEnumerable which in ur case better than list while u getting List of data from I/O

  • @maxiphobos
    @maxiphobos Год назад +8

    It doesn't look like TDD. It looks like the usual unit tests writing after implementation. TDD, in my opinion, means just to announce the service's interface, write all unit tests that cover future service functionality and only after this write exact service's implementation. Correct me if I'm wrong please.

    • @Monzy_
      @Monzy_ 3 месяца назад +1

      You're abolutely right.

  • @oleksiiprykhodko517
    @oleksiiprykhodko517 Год назад +2

    Mohamad hi. 🖐
    Please place your camera in the bottom right corner.
    That way it won't overlap the useful information from the video.

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

      I am not sure why he does that, if it is intentional or not.

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

    Thank You - excellently done!
    You could break the work down into smaller segments (chapters?) and let the viewer have the opportunity to just jump to that area.
    Looking forward to more super informative videos!

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

    very nice, thank you Mohammed
    شكرا

  • @oleksiiprykhodko517
    @oleksiiprykhodko517 Год назад +2

    Mohamed, very interesting video.
    Thank you. And like from me.
    Can we have more videos about testing please? Maybe a video about integration tests on the example of an old project from the previous video?

  • @tofrom8541
    @tofrom8541 Год назад +2

    Why you add video margin? It's problematic for Fullscreen watching

  • @MTSightseeing
    @MTSightseeing Год назад +2

    Next we need a DDD approach please

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

      I would like to second this. Majority of the online blogs and RUclips channels are pretty dated as far as Clean Architecture in Dotnet is concerned. The concept may be same but the implementation(workflow and naming convention) has changed over the years. I'm currently stuck and not aware what to follow from a beginner's standpoint-Different libraries i.e. Auto mapper and MediatR libraries have had a fresh smell of paint over the years and so is DotNetCore where Startup.cs class was removed in favor of program.cs and Minimal Api also had a slight facelift and to keep up with all this and fit them together in an application is overwhelming. I would pretty much appreciate if you could do one video capturing the clean architecture crud web Api in dotnet using generic repository pattern unit of work, DTos, Auto mapper and MediatR in one application.

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

      Exactly@@felixpatric4056 , actually most productive applications don't even care about minimal apis, but to keep DDD and clean architecture in order to have a maintenable project, instead of focusing on minimalistic approaches. This is imo the best thing an API dev has to understand

  • @PaulSebastianM
    @PaulSebastianM 7 месяцев назад

    Testing implementation and framework mmm

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

    Why u have not use existing .net 7 api projet that you posted on your channel earlier that uses automapper, entity framework & repository pattern?. That would be easy for you to use existing project u only need to add & explain unit test thinks.

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

      Good point, I needed to showcase how to get started from the beginning of a new project rather an existing project

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

      @@MohamadLawand I agree previous example was very good and solid base foundation for api building and adding a unit test for that project is like Cherry on cake.

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

    Very informative. Thanks for the video. one request pls can you speak little slower , hard to follow.

  • @Monzy_
    @Monzy_ 3 месяца назад +1

    Sorry but this is not real test-driven development. Watch "TDD Is The Best Design Technique" by Continous Delivery to learn what real TDD is. However, this video is fine at showing how to write .NET tests with those tools.

  • @lukaorevic6593
    @lukaorevic6593 Месяц назад

    Dude, fix you audio please.

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

    TDD should be ❌✅❌✅❌✅
    Tests should be written first.