Use xUnit to test project of .NET Core – Free Udemy Courses
xUnit course for beginner
What you’ll learn
Use xUnit to test project of .NET Core – Free Udemy Courses
- Introduce what is the automated testing
- Introduce xUnit DotNet
- Study how to establish a xUnit project to test our project, Study how to use the Test Runner of Visual Studio
- Study the Assert, Testing Life Cycle, Data Driven Testing
Requirements
-
No testing experience with xUnit is needed. You will learn a rudimentary knowledge of xUnit.
Description
 In this course, you will learn the rudimentary knowledge of automated testing, and the categories of automated testing.
In the second video, I will display how to build a testing project in VisualStudio to test our codes. I will also introduce other knowledge of the testing method things as the fact attribute, and the rules of how to name a testing method. Normally, You can grab a set of skills to build your testing project.
After then, this course will talk about what is the assertiveness of xUnit. well, we will make a lot of samples to try the different types to assert. Normally, I can say that if you finish watching it, you will be very proficient to handle the different cases by asserts of xUnit.
Udemy Free Courses FreeCourseSite
well, if we only learn the asserts, I think it will be very monotonous. So, we will learn how to use the trait which is an attribute to group the specific testing methods into the same group. also, we will share the skills of how to skip a testing method, and how to implement the interface of xUnit to realize the function which outputs our custom messages. To a lot of coders, it will be a very struggle experience in which you have to build an object which will expense a lot of time and occupy a lot of resources. In this course, we will teach how to use the IClassFixture to fix this problem.
The last one will teach you how to utilize the theory attribute. normally, we input a set of data to our parameters of testing methods which means you have to build a lot of methods that have duplicate codes but we don’t wanna do that. We can use the theory to supersede the Fact attribute and combine the other attributes things as InlineData, and MemberData to resolve this problem.
Who this course is for:
- Beginner xUnit DotNet who wanna use it to test the DotNet Core project
Add Comment