MSTest Unit Testing Tutorial for beginners : C# Unit Testing (Udemy.com)
Learn how to write effective unit tests using Microsoft MSTest framework to build high quality software applications
Created by: Venkat Kud
Last updated January 2016
What you will learn
- Understand unit testing concepts and their improtance and power when developing software applications
- Write effective unit tests using C# and MSTest framework to test software applications
- Will be able to answer most of the unit testing related interview questions
- C# unit testing
How it compares
Against the other 194 rated Udemy courses in C# on CourseDuck:
- Rating4.5 out of 5higher than 58% of them
- Reviews2,064#34 of 195 by number of reviews
- Length3.9 hoursshorter than 64% of them
- Last updatedJanuary 2016earlier than 97% of them
Course Description
What is the course about : This course is all about writing effective unit tests using C# programming language and MSTest framework. Along the way we will learn the concepts related to unit testing. Most organisations these days expect it's employees to have unit testing skills, as unit testing is becoming more and more important for the quality of the software applications.
- Visual Studio unit testing tutorial
- MSTest unit testing tutorial
- Dot Net testing framework
- C# unit test framework
- Visual Studio unit testing framework tutorial
- csharp unit testing tutorial
How long is the course : The course is around 4 hours. All are video lectures. You will be able to download all the slides and code samples used in the course.
What will we be covering : We will start with, what is a unit test and we will write our first unit test, followed by benefits of unit tests. and unit test naming conventions.
We will also cover running, debugging, auto generating unit tests, grouping unit tests in visual studio, unit test traits, filtering, playlists, code coverage in visual studio, unit testing exceptions, unit testing private methods, visual studio ordered test, visual studio generic test, unit testing assertions and running unit tests from command line
The following visual studio unit testing attributes are discussed with examples
- TestClass attribute
- TestMethod attribute
- TestInitialize attribute
- TestCleanup attribute
- ClassInitialize attribute
- ClassCleanup attribute
- AssemblyInitialize attribute
- AssemblyCleanup attribute
- TimeOut attribute
- Ignore attribute
We also discuss the following concepts related to advanced unit testing with examples
- What is TestContext
- Visual Studio data driven unit tests
- What is test driven development TDD
- Benefits of TDD
Instructor Details
- 4.5 Rating
2,064 Reviews
Venkat Kud
Over 15 years of experience in web development, with Microsoft .NET technologies like ASP .NET, C#, SQL Server, AJAX, WCF, JQuery, SSIS, SSAS and SSRS. Currently working as a Technical Architect. Love to share knowledge as I believe in "TO TEACH IS TO LEARN".
Got the opportunity to work on world's largest e-commerce and banking applications. Has an excellent track record as one of the best IT faculty in imparting technical knowledge related to Microsoft Dot Net technologies. There are over 150,000 subscribers on my Youtube channel (kudvenkt) from over 100 countries who are benefiting from these videos.
Accomplishments:
Bachelor of Computer Applications - University Topper.
Authored over 1500 articles and 1000 videos
Over 150,000 subscribers from over 100 countries on my Youtube channel
My accomplishments illustrates itself in my writing, speaking and teaching skills.
More C# courses
C# Developers: Double Your Coding Speed with Visual Studio (2018)
4.7 (4,035 Reviews)
Provider: Udemy
Time: 2.2h
$13.99
Object Oriented Programming with C# - Beginner to Advanced (2020)
4.7 (2,063 Reviews)
Provider: Udemy
Time: 5.6h
$64.99
Learn Game Development with C# Programming and MonoGame! (2025)
4.7 (1,094 Reviews)
Provider: Udemy
Time: 6.6h
$12.99
Reviews
By Casey Rush on 3/5/2021
Very clear and easy to follow with good pacing; overall course structure was very organized, too. Instructor is very eloquent and engaging. I went from having heard the term "unit testing" to writing my first tests over the course of a couple hours (pull request approved - can't argue with those results!).
By VishalNigade on 12/6/2020
great session
By Krishan . on 11/15/2020
Kud Venkat as always is amazing, pleasure to learn from him.
By Piyush Kumar Chouhan on 9/26/2020
This course is awesome.
By Yari Brunings on 9/23/2020
Straight to the point, lean & concise
By Shaik Umar Farooque on 9/4/2020
Thank you very much Venkat sir.
By Debajyoti Sahu on 8/15/2020
Sir, section 20 is having blur video in-between. kindly fix it ASAP.
else it is very good going :-)
By David Foley on 7/26/2020
yes. exactly what i need.
By Madhu Menon on 7/20/2020
Concepts are explained in a very simple and easy to understand manner along with demo. You dont have to look anywhere else for Unit testing with MSTest.
By Anel Kasic on 7/12/2020
Maybe examples could be a bit more "clean", or use "cleaner solutions".
By HARI KRISHNA on 6/15/2020
The information given on this course was good enough to write the unit tests. In my point of view, he can explain some more better like in depth of some topics.
By Ramakant Pol on 6/14/2020
This was something new which i loved to do for the first time.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 90 / 100






