Deep Dive Into Xunit Testing
Published 5/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.33 GB | Duration: 2h 30m
Published 5/2023
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.33 GB | Duration: 2h 30m
Xunit+Net, Mocking, Data Driven Tests, Testing+Techniques, Real time Web API Tests, All Levels
What you'll learn
Learn all the features and capabilities of xUnit .net
Learn writing unit tests using the Mocking technique and xUnit
Learn how to write unit tests for legacy (old) applications
Learn how to measure test coverage
Requirements
Beginner programming experience needed
Description
All dotnet developers looking to develop new skills and take their career to the next level – this is the course to help you get there!This course is focused on the Unit Testing .NET Core / .NET 6 Projects with xUnit .net, an open-source unit testing tool for .Net Framework and .Net Core/6 applications and the standard tool for unit testing C# VB. NET and F# projects in Visual Studio.Overall, this course is for everyone and for all the levels as it is designed to understand and learn about the technicalities in unit test cases.Being a proficient and confident user of this tool will allow you to execute essential .NET core development tasks.In this course, I will teach you:The basics of the xUnit .netLearn unit testing from scratchHow to write organized Unit Test CasesHow to use data-driven testing capabilitiesRun and Debug Unit TestsHow to use mocking frameworks, including MoQHow to test legacy codeHow to write unit tests for .NET Core Web APIsImplement unit testing in N-tier real world web application project using XUnitQuestions are always welcome from students and can be asked in the Q&A section of the course. I endeavor to respond to these quickly to create an engaging learning environment for my students.
Overview
Section 1: Introduction
Lecture 1 Introduction
Lecture 2 What is Unit Testing
Lecture 3 Benefits of Unit Testing
Lecture 4 Testing Frameworks & XUnit Overview
Lecture 5 Write your first Unit Test Case Program
Section 2: Stages of Unit Testing
Lecture 6 Arrange, Act and Assert
Lecture 7 Creating Fact
Lecture 8 Practical Demo with School Grade System
Lecture 9 Naming Convention
Lecture 10 Refactoring
Section 3: Test Doubles –- Fakes, Stubs and Mocks
Lecture 11 What is Test Doubles
Lecture 12 What is Fakes
Lecture 13 Practical demo with Fakes
Lecture 14 What is Stubs
Lecture 15 Practical demo with Stubs
Lecture 16 What is Mocks
Lecture 17 Practical demo with Mocks
Lecture 18 When to Use Fakes vs Stubs vs Mocks
Section 4: Data Driven Tests
Lecture 19 What is Inline Data
Lecture 20 Practical usage of Inline Data
Lecture 21 What is Class Data
Lecture 22 Practical usage of Class Data
Lecture 23 What is MemberData
Lecture 24 Practical usage of MemberData
Section 5: Mocking and Unit Testing on Web API
Lecture 25 Mocking – Mimic
Lecture 26 Using XUnit Terminologies
Lecture 27 Overview of Real time Web API Project
Lecture 28 Controller Level Testing – GET APIs
Lecture 29 Controller Level Testing – POST APIs
Lecture 30 Debugging the Unit Test Case
Lecture 31 Service Level Testing – Get Methods Using MOQ
Lecture 32 Service Level Testing – Save Method Using MOQ
Lecture 33 Service Level Testing – Setup Fake Class and implement Methods
Lecture 34 Service Level Testing – Test Cases using Fake Repository
Section 6: Poisoned Code
Lecture 35 Refactoring the bad code
Lecture 36 How to do the refactor ?
Lecture 37 Poisoned Problems
Section 7: Bonus Lecture
Lecture 38 Tips of write a unit test case
Beginner Unit Testing engineers curious about testing application,Intermediate Unit Testing engineers curious about techniques,C# Developers,.NET Core Developers,Xamarin developers,Testers and QA Engineers