Getting Started with Unit Testing in Visual Studio 2022 - nUnit

Поділитися
Вставка
  • Опубліковано 4 січ 2022
  • Hey Programmers,
    In this episode, I am showing how you can get started with Unit Testing for your .NET projects. Unit Testing is most underrated projects in solutions. Please check it out and get started wit it.
    #Unit #Testing #nUnit
    Join this channel to get access to perks:
    / @curiousdrive
    Subscribe here - / @curiousdrive
    Talk to us on - / curiousdrive
    Like our page - / curiousdrive
    Follow us on - / curious_drive
    Follow us on - / curiousdrive
    Make a donation - www.paypal.me/curiousdrive
    Be a member - / curiousdrive
    #CuriousDrive #WeLoveCoding

КОМЕНТАРІ • 65

  • @kopilkaiser8991
    @kopilkaiser8991 Рік тому +3

    Bang!! Watching your video gave me the knowledge and capabilities to be able to write NUnit tests myself. Thanks for the great tutorial.

  • @mohammadabubakernaeem3587
    @mohammadabubakernaeem3587 6 місяців тому +2

    It was excellent what you explained. Works great

  • @gammax4634
    @gammax4634 Рік тому

    Helped me a lot, thank you.

  • @pierrequillery6765
    @pierrequillery6765 7 місяців тому +1

    Thank you for the crash-course, clear and concise!

  • @fabreddos
    @fabreddos Рік тому

    Excelent explanation, your information is very usefull to learn the correct concepts of nunit, greetings from Colombia

  • @kabirali7546
    @kabirali7546 2 роки тому +1

    Thankyou so much , Great Explanation.👍👍

  • @luimadlo
    @luimadlo Рік тому

    Good explanation! Thank you

  • @vanaaly7452
    @vanaaly7452 4 місяці тому

    thank you, very well explained!

  • @Anu-eo1lu
    @Anu-eo1lu Місяць тому

    Well explained. Thank you so much

  • @sumathikurlageri6692
    @sumathikurlageri6692 Рік тому

    Thanks for neat explanation.

  • @Vitorgasparete
    @Vitorgasparete Рік тому

    Very great!! Thanks!

  • @user-nx9wc3ls3f
    @user-nx9wc3ls3f 28 днів тому

    Great and informative video! thank you

  • @ubongsky1
    @ubongsky1 8 місяців тому

    The explanation is really nice

  • @GrowthWithUnique
    @GrowthWithUnique 2 роки тому +5

    That is what I want to learn.Thank you

    • @CuriousDrive
      @CuriousDrive  2 роки тому +1

      Thanks for watching Su Myat. Let me know if there is anything specific if you would like to learn.

  • @invisbl
    @invisbl Рік тому

    Great explanation!

  • @sagartandon639
    @sagartandon639 2 роки тому

    Very helpful . Thanks

  • @myoussef5862
    @myoussef5862 9 місяців тому

    Thank you !

  • @infinite0rbit
    @infinite0rbit 2 роки тому +1

    Helpful video, thanks!

  • @thesmart4128
    @thesmart4128 3 місяці тому

    perfect explanation TYYY

  • @AshithaMK
    @AshithaMK Рік тому

    Great explanation , Is there a video for mstest , Xunit as well
    Also for angular project (karma , jasmine)

  • @sakshaterande9794
    @sakshaterande9794 2 роки тому +2

    Very well explained 👍

    • @CuriousDrive
      @CuriousDrive  2 роки тому

      Thanks for watching Sakshat. Please share with your friends :)

  • @lordbreastpads3626
    @lordbreastpads3626 Рік тому

    When i click on add it does not give me the option of add new project

  • @ajaykumark107
    @ajaykumark107 Рік тому +3

    Great explanation. The best video out there! One question: Why do we declare the variables inside the test class as private.

    • @laxmikantmishra7288
      @laxmikantmishra7288 Рік тому +1

      Why do you need to expose variables of test class. test class are very much deterministic

  • @SahilSinghal1998
    @SahilSinghal1998 Рік тому

    Sir, Please tell how to run same testcase with multiple iteration to test multiple testdata.
    Example running one testcase which will test same code with many iterations.

  • @jasminemerchant3167
    @jasminemerchant3167 5 місяців тому

    nice example, u explained very nicely, but what about other conditions, should we write if else condition for it?

  • @kedirmamo7818
    @kedirmamo7818 Рік тому

    It is also be better fix problems seakers claimed along with tutoring is for developers and beginners too. Thanks a lot.

  • @trustingod0
    @trustingod0 Рік тому

    Whats the difference between nunit and xunit?

  • @imswadhinkido37_
    @imswadhinkido37_ 5 місяців тому

    Can we generate .exe file for our test code ???

  • @sergeymigel4680
    @sergeymigel4680 4 місяці тому

    Thanks

  • @ganeshbabu.g5219
    @ganeshbabu.g5219 Місяць тому

    "n" stands for ".net" in nUnit Test framework. By the way it was a great video.

  • @kanebrennan4664
    @kanebrennan4664 Рік тому +1

    great tutoral but whats amusing is that the uk grading system for university is basically 40% = D, 50% = C, 60% = B, 70% = A.
    You can literally only do half the work in an engineering course and become an engineer. most jobs say 60% minimum and thats what I got 63%

  • @gfrsaaaar4575
    @gfrsaaaar4575 2 роки тому +1

    Hello, good tutorial. I changed my compiler from vsc to vs but I cannot live with this new colors and I see you have the same as vsc. How to do it?

    • @CuriousDrive
      @CuriousDrive  2 роки тому

      Hello gfrsaaar, I use the VS code themes for Visual Studio and that's how it looks different. You can get the themes from this link - marketplace.visualstudio.com/items?itemName=idex.vsthemepack

  • @AamirKhan-kx3oy
    @AamirKhan-kx3oy 2 роки тому +1

    can we write tests for database operations with entity framework with webapi ? or can you please share some docs?

    • @CuriousDrive
      @CuriousDrive  2 роки тому

      That's a really good question. I am going to make a video about it in coming months. Meanwhile, check out these docs.
      docs.microsoft.com/en-us/ef/core/testing/testing-sample

  • @ragtop63
    @ragtop63 7 місяців тому

    Great explanation! Unfortunately, I can see this as being very tedious for more complex value comparisons. For instance, testing a method that takes in a long number, multiplies it by another number (could be any number) and returns a double. This would be an undertaking in itself if you wanted to test multiple input values. Unless I'm not understanding this correctly?

  • @golljhjkahsdah2817
    @golljhjkahsdah2817 4 місяці тому

    thanks.

  • @RomeuCarvalho
    @RomeuCarvalho 2 роки тому +1

    Hi, can you please tell witch theme and font are you using.

    • @CuriousDrive
      @CuriousDrive  2 роки тому +1

      Hello Romeu, Font is "Cascadia Code". You can get it from here - github.com/microsoft/cascadia-code/releases
      and the theme is "Dark+". You will need to install Visual Studio theme pack from here - marketplace.visualstudio.com/items?itemName=idex.vsthemepack

  • @talukderroni6262
    @talukderroni6262 6 місяців тому

    simple explanation

  • @Shakti_Singh_Om
    @Shakti_Singh_Om Рік тому

    nice video

  • @NealAnthoons
    @NealAnthoons 2 роки тому +1

    Nice video! What’s the name of the font you use ?

    • @CuriousDrive
      @CuriousDrive  2 роки тому

      Thanks. Font Name : Cascadia Code. You can get it from here - github.com/microsoft/cascadia-code/releases

  • @helgigretargunnarsson8967
    @helgigretargunnarsson8967 7 місяців тому

    Great explanation. It was very helpful :)

  • @Sonny2009
    @Sonny2009 10 місяців тому

    Nipsey Hustle's cousin is doing Software Development. At least he is still alive.

  • @sifisocyprianshezi3824
    @sifisocyprianshezi3824 Рік тому

    I thought someone will answer the question the Instructor asked before closing .... What does that "N" in NUnit Stands for?
    It's been a year now.... for me it's

    • @aniketdeshmane6569
      @aniketdeshmane6569 Рік тому +3

      If you look up the offical documentation of NUnit, It says its used for all .Net Languages with means "N" from NUnit is for "N" in Net

  • @ed2023bc
    @ed2023bc Рік тому

    720p in 2022?

  • @hoomanj6498
    @hoomanj6498 Рік тому

    i dont know why you changed voice by ai

  • @osamamicro1103
    @osamamicro1103 2 роки тому +1

    First comment 👏

  • @RedPipLP
    @RedPipLP Рік тому

    NUnit Test Project template is nonexisten for me...

  • @muhammadkazim9196
    @muhammadkazim9196 2 роки тому

    kuch smj ni ai. I guess me jldi testing seekhne lg gya hn , 🤣🤣 me phle basics seekh k ata hn

  • @nightingale3.0
    @nightingale3.0 Рік тому

    I don't know if it's just me, but I was kinda distracted by the way he was talking ................as if he was in a library or............ saying his last words...... I completely felt like i was out of breath myself........ through the entire video.

  • @good-tn9sr
    @good-tn9sr 4 місяці тому +1

  • @VijayChandrashekar-ii4rr
    @VijayChandrashekar-ii4rr 2 місяці тому

    It was excellent what you explained. Works great

  • @sumathikurlageri6692
    @sumathikurlageri6692 Рік тому

    Thanks for neat explanation.

  • @sumathikurlageri6692
    @sumathikurlageri6692 Рік тому

    Thanks for neat explanation.