Find online courses made by experts from around the world.
Take your courses with you and learn anywhere, anytime.
Learn and practice real-world skills and achieve your goals.
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.
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
Not for you? No problem.
30 day money back guarantee.
Learn on the go.
Desktop, iOS and Android.
Certificate of completion.
|Section 1: Unit Testing Basics|
What is a Unit TestPreview
Creating your first unit testPreview
Benefits of unit tests
Who should write Unit Tests
|Section 2: Running Unit Tests|
Running unit tests
Unit Test Generation
Debugging unit tests
|Section 3: Grouping and Filtering Unit Tests|
Grouping Unit Tests
Filtering Unit Tests
|Section 4: Code Coverage|
TestClass and TestMethod attirbutes
Unit Testing Private Methods
Running unit tests from the command line
|Section 5: Data Driven Unit Tests|
Data-Driven Unit Test
Data-Driven Unit Test - XML
Data-Driven Unit Test - CSV
Using a Configuration File to Define a Data Source
|Section 6: Initialize and Cleanup attributes|
TestInitialize and TestCleanup
ClassInitialize and ClassCleanup
AssemblyInitialize and AssemblyCleanup
TimeOut and Ignore attributes
|Section 7: Unit Test Assertions|
Assert Object Equality
CollectionAssert.AreEqual Override Equals
CollectionAssert.AreEqual project to list of strings
CollectionAssert - Rest of the methods
|Section 8: TDD - Test Driven Development|
What is TDD
Benefits of TDD
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.
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.