How to create Unit-Test in c# using Nunit #1889
Unanswered
UG-SEP
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What is Unittest???
Unit testing is the process through which units of source code are tested to verify if they work properly. Performing unit tests is a way to ensure that all functionalities of an application are working as they should. Unit tests inform the developer when a change in one unit interferes with the functionality of another. Modern unit testing frameworks are typically implemented using the same code used by the system under test. This enables a developer who is writing application code in C# to write their unit tests in C# as well.
Note: Writing Unit-Test in c# is very easy
What is framework??
Unit testing frameworks are developed to simplify the process of unit testing. Those frameworks enable the creation of Test Fixtures, which are .NET classes that have specific attributes enabling them to be picked up by a Test Runner.
There are a lot of unit testing frameworks available
One of them is NUnit...
So I created a video which helps you to create Unit Test in c# using NUnit it is so easy and simple to do
https://youtu.be/rTAqsd6iGzg
Please show your support
Beta Was this translation helpful? Give feedback.
All reactions