C# Unit Tests Using NUnit (.NET) (Beginner)

preview_player
Показать описание
How To Cover Your C# Code With Unit Tests using NUnit (.NET Core).

Github Source Code
____________________________________

____________________________________

C# C Sharp MatthiWare Unit Tests Unit Testing NUnit .NET Core #csharp #dotnet
Рекомендации по теме
Комментарии
Автор

You can find the source code for the unit tests here

MatthiWare
Автор

Simple but yet informative and your video covers basically all that is needed to know about NUnit Project unit testing. I was a bit confused but thanks to your tutorial, it made things more easier to understand. Keep up the good work.

kopilkaiser
Автор

I have been seen multiples videos for many years. This is the first one that I understand the all explanation. To be honest, you are so good doing this. Congrats!

carlramirez
Автор

Thank you for this tutorial. It was helpful and glad to see that this course can still be completed without errors after two years.

UsaSzerelem
Автор

Thanks Man. You made it quite simple to understand & very well planned.

studsevaa
Автор

love the video..following the steps and actually I'm understanding what it is trying to do now.thank you! never write unit test and I'm expecting to have an interview to cover that.LOL

aaronzheng
Автор

Awesome video, explanation is simple and clear

antonyndungu
Автор

Awesome video ! for us old dinosaurs / cowboys who are now being forced to do unit testing ;-)

blissweb
Автор

Hi, what type of project of Bank? Is it "Class library" or "Console application"? How can I create "Console application" and link it with project of NUnit test.

I was repeating after you and create project "Bank" as "Console Application" then I create project of NUnit test, then clicked on project test and added reference to "Bank". But when I tried to create instance of "Bank" my test method didn't see Bank class

Monkey-oniz
Автор

Don't know what you are talking about? There is no NUnit for .Net Framework in VS2019 default installation. That is the part on minute 2 where you stumble upon.

christianmontagx
Автор

I write test code for add and subtract but it's give me error can't not be access with instance reference qualify with type name what to do now

luckysana
Автор

Hello Matthi, thank you for the wonderful video. It was very helpful to get me started. I have an issue that I find difficult to solve though. I want to run a unit test on a private method. When I Arrange the class to test on, I cannot call the private method because it is private to that class. I know I could make it public, but I would rather not do that. What could I do in Unit Testing to test a private method?

shinyshark
Автор

Which NUnit packages did you install. I installed "NUnit" and "NUnit3TestAdapter". When I try to run the test, nothing is displayed in the "test explorer". I'm using "VS2019 community". Can you give me any advice? Great tutorial btw!

ecaepevolhturt
Автор

hi,
plz help me MatthiWare
How can i order tests (up to 300)

thedembelecoder
Автор

I'm getting bank.dll could not be found error, and Adding_funds_updates_balance test is failing

hemanthsg
visit shbcf.ru