Visual Studio Code ~ Unit Testing: XUnit

Поділитися
Вставка
  • Опубліковано 4 лют 2025

КОМЕНТАРІ • 60

  • @mikehawk4515
    @mikehawk4515 6 років тому +21

    Hey there I just wanted to give you a short feedback regarding your videos.
    I'm a computer science student and watch every single video you are recording.
    I enjoy this kind way you talk about your experiences. That really motivates me to get more into it.
    Keep on doing more of those Tutorial videos.
    Best wishes from Germany!

    • @codingisforyou
      @codingisforyou  6 років тому +2

      Thank you so much. I wish you the best!

  • @yodoom
    @yodoom 4 роки тому +8

    Thanks - I'm moving across from Visual Studio to VS Code and wanted a simple video explaining how to set up xUnit in VS code - this is perfect. VS Code can be confusing at first when you're used to the full on IDE.

  • @JoelDaSilva123
    @JoelDaSilva123 4 роки тому +1

    You don't know how much you just helped me.

  • @TheMubeenyou
    @TheMubeenyou 4 роки тому

    This is the best video unit testing I ever have seen with lots of tricks.

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

    thank us so much as a computer science student ur videos helped me a lot , i wish all the best for u

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

    Very well explained, especially since you chose to do a simple exercise

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

    Want to point out this tutorial is still relevant. I usually use Visual Studio and this helped me sort out how to use VS Code for a personal project and add testing.

  • @papasamuel9532
    @papasamuel9532 5 років тому +3

    Thank you for this. I am new to VSCode and have been trying to get unit testing going for a few days now. Your video set me straight.
    I will like to add for some other viewers who may be on the fence about unit testing, I work in a large company (40,000+ employees total) and Unit testing has really helped our delivered quality by allowing us to catch edge cases and by confirming changes such as refactoring did not break anything. Unit tests really have been invaluable. I use unit tests on my small projects as well, because the [Theory]s let you throw all sorts of interesting values at your algorithms and find interesting errors. For example Program.IsOdd(-3) returns false, and that mathematically wrong.

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

    Thank you very much, you saved my time and my nerves

  • @Helelena95
    @Helelena95 3 роки тому

    Thanks a lot for this vid. I'm studying Computer Science and my teacher asked us to do tests on our code but didn't explained them. We are using C++ but this explanation was perfect for understanding the idea

  • @artsiomaliaksandrau5495
    @artsiomaliaksandrau5495 4 роки тому

    Thank you very much, was stuck but your tutorial helped a lot

  • @virendrakumarmishra876
    @virendrakumarmishra876 3 роки тому

    Need more tutorials best testing video i have ever seen ♥️

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

    Brilliant video. Learnt a lot! Thanks!

  • @davideographer4410
    @davideographer4410 4 роки тому

    Wow, what a brilliantly clear explanation! Many thanks 👍

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

    an absolutely perfect video, thank you

  • @samukarbrj
    @samukarbrj 3 роки тому

    this was deep!
    tks from Brazil!!!

  • @family.vibes.unleashed
    @family.vibes.unleashed 4 роки тому

    Excellent explanation! Thank you so much for creating and sharing this tutorial.

  • @rafsanjany2936
    @rafsanjany2936 4 роки тому +2

    That so useful....I am not gonna code in VS again.....VS code is the best

  • @edwardhoffenheim3249
    @edwardhoffenheim3249 5 років тому

    Hey there. I just wanted to give you a short feedback regarding this video.
    I'd like to thank you for giving explaining this in the context of an organization. Most other videos on this topic speak about unit testing in a vacuum which is next to useless. This makes it easier to understand the importance of it which helps motivating me to learn it.

  • @gabrielbarriost
    @gabrielbarriost 5 років тому

    Very simple explained, to avoid the issue with the entry point you could have added a class library for your common functions, then, you could have added another class library project for the unit tests, reference the common functions then run the tests in isolation from your console application...

  • @chenchi6623
    @chenchi6623 4 роки тому

    Nice catch on the False, I had the same problem when I add Microsoft.NET.Test.Sdk my app wouldn't start, now it does...

  • @aiswarya3461
    @aiswarya3461 3 роки тому

    Clear explanation. Thanks !

  • @johngrimm1776
    @johngrimm1776 6 років тому

    I like how you're starting to do these videos. I think a good format is to do something like this, a simple intro to a concept like tests and TDD, and then do a follow-up video with something like the web scraper- concept introduction, followed by a fun/interesting application and/or problem to be solved. For instance, maybe how tests could troubleshoot that scraper. Then you can cross link your nugget videos to reference things as well.
    Maybe that would be a good format for your viewers. Just my two cents.
    (edit for clarification)

  • @cincoymediayeah
    @cincoymediayeah 4 роки тому

    Thank you very much! It helps me a lot

  • @jeanpaulsaucedogonzalez1975
    @jeanpaulsaucedogonzalez1975 4 роки тому

    Thanks!, It is a great introduction tutorial

  • @RCTestKid
    @RCTestKid 5 років тому

    Thank you for the tutorial. Huge help.

  • @cesarzamora3231
    @cesarzamora3231 5 років тому

    Well, in the sample that you said that doing the TEST save you bc other coder alter one of the procedures, if you have a source control like git for example you can see who modify your programs instead of re-run your test or if you use TFS also you can find who access and alter any program at any time. I believe test is good for complex classes and because useless with simple classes. Good Video btw like it.

  • @ancientelevator9
    @ancientelevator9 3 роки тому

    How do you get the "Run Test | Debug Test" prompts above your functions and classes? ...ahh nvm omnisharp wasn't running for some reason

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

    thank you bro!

  • @limken1343
    @limken1343 3 роки тому

    How do you test a void method or capture the writeline from the void method?

  • @danyarias11
    @danyarias11 4 роки тому

    Great Video !!! Also, Do you happen to know how to do it but with MSTest ? thanks in advance

  • @amaechichristopheribeme184
    @amaechichristopheribeme184 4 роки тому

    Hello, Thank you very much indeed for this powerful unit test walkthrough tutorial.
    How can I use this your concept for testing C/C++ code a.k.a functions?

  • @virendrakumarmishra876
    @virendrakumarmishra876 3 роки тому

    Can we test a function which doesn't has return type and doesn't had parameters???

  • @ArthurOV_
    @ArthurOV_ 3 роки тому

    Gracias este video es de gran ayuda LIKE

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

    Very good

  • @SauravKumar-ju6iz
    @SauravKumar-ju6iz 5 років тому +1

    Thanks

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

    I don‘t know why but for me it isn‘t working.. I can‘t add the Package Microsoft.NET.Test.Sdk.
    I am using a mac. Could it be that this doesn‘t work with mac? Can you help me? Thank you!!

  • @ShobanBabuNarasimha
    @ShobanBabuNarasimha 5 років тому +1

    Nice video

  • @zimcoder
    @zimcoder 5 років тому +2

    You can enable auto save

    • @papasamuel9532
      @papasamuel9532 5 років тому

      Absolutely. Plus Format on Save, and you've got yourself some nice coding bliss.

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

    new sub

  • @ThisIsEduardo
    @ThisIsEduardo 6 років тому +2

    Do you have a java video ?

  • @frownless
    @frownless 6 років тому

    As a developer how many languages do you know and what should you know to stand out?

    • @codingisforyou
      @codingisforyou  6 років тому +1

      I know C# best, also: VB.Net, html, CSS, javascript, SQL, jquery, json, xml. Learn 1 important language very very well and then pickup what you need later.

    • @frownless
      @frownless 6 років тому

      @@codingisforyou awesome thank you very much am currently learning javascript I will focus on that really well on move on

    • @papasamuel9532
      @papasamuel9532 5 років тому +1

      Almost more important than what language is which websites should you know as a developer. I recommend www.stackoverflow.com for detailed questions, the code project for nice easy lessons, and softwareengineering.stackexchange.com/ for more open type questions.

  • @SL3APYH3AD11
    @SL3APYH3AD11 4 роки тому

    Does this work with Java?

  • @sidewinderam9m
    @sidewinderam9m 5 років тому +1

    This would be really helpful if I could get visual studio to display any of the windows or commands shown on your video. I have searched for 15 minutes and cannot find the terminal window, or the debug console window, etc. Why does my application look so much different than yours?

  • @Kid-vr6zf
    @Kid-vr6zf Рік тому

    Outdated and no longer works in net7.0

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

    CTRL + S ????????? 🤣🤣