Unit Testing .Net Core Applications with xUnit .net & MOQ
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 Test Driven Development (TDD) with xUnit
- Learn how to measure test coverage
- Take the interview questions and get ready for your next interiew
Course content
- Preview01:24
- Preview01:05
- Preview02:21Features of XUnit .Net
- 06:27Writing your first Unit Test
- 01:38Execute Unit Tests in Visual Studio
- 02:26Execute Unit Tests via Command Line
- 02:31Execute Unit Tests with ReSharper
- 01:46Phases of Unit Testing
Requirements
- C# programming beginner level
- Visual Studio 2015, 2017, 2019 or Visual Studio for Mac
Description
Attention all .NET Core developers looking to develop new skills and take their career to the next level – this is the course to help you get there!
This is a focused course on the Unit Testing .NET Core / .NET 5 Projects with xUnit .net; an open-source unit testing tool for .Net Framework and .Net Core applications and the standard tool for unit testing C#, VB.NET and F# projects in Visual Studio.
Being a proficient and confident user of this tool will allow you to execute key .NET core development tasks.
In this course, I will teach you:
the fundamentals of the xUnit .net ;
how to write effective and well-organised unit tests for your .NET core applications;
how to use data-driven testing capabilities;
how to use mocking frameworks, including MoQ;
how to use test-driven development (TDD) technique;
how to test legacy (old) code;
how to write unit tests for ASP.NET Core MVC applications
No pre-requisite knowledge is required to complete this course, but a positive attitude and a willingness to learn is a must!
Questions are always welcome from students and can be asked in the Q&A section of the course. I endeavour to respond to these quickly so I can create an engaging learning environment for my students
Who this course is for:
- C#, VB .Net or F# progrmmers
- .NET Framework and/or ASP .NET developers
- .NET Core programmers
- Testers and QA Engineers
- Xamarin developers
Instructor
Aref is an experienced software engineer passionate about sharing his knowledge and experience with others.
He completed a masters degree in Software Engineering but his journey with programming began when he was just 13 years old (with a Commodore 64 computer).
At age 17, Aref sold his first commercial software, a real estate management program written in Turbo Pascal. He also developed an interest and high proficiency in 8085 and 8086 assembly languages. This interest led to a period where he worked in the electronics industry building industrial automation devices.
As a (cheeky) hobby, Aref worked on computer viruses that came to the attention of Peter Norton. Googling “Aref.890” turns up some interesting information!
Since this time, Aref has continued to build a variety of enterprise software solutions using engineering tools and frameworks such as FoxPro, Delphi, C++, C#, Grafana, New Relic, TeamCity, and Bamboo.
Aref is also passionate about teaching, spending 3.5 years working as a high school teacher in Iran. He now channels this passion into online teaching and is grateful for the opportunity to teach many students around the world.
He has published two books around software development one of which was published when he was 19 years old.
Aref currently works in Australia as a technology leader, and he enjoys working with talented engineers and creating various software architecture solutions for clients.