Mastering Unit Testing in C#: A Beginner’s Guide


Mastering Unit Testing in C#: A Beginner’s Guide
Mastering Unit Testing in C#: A Beginner’s Guide
Last updated 2023-02-26
Duration: 57:04 | .MP4 1280×720, 30 fps(r) | AAC, 44100 Hz, 2ch | 412 MB

Learn the basics of C# unit testing with XUnit
What you’ll learn
Understand the idea behind unit testing
Learn the differences between NUnit and XUnit
Identify test cases
Create a basic unit test
Test exceptions with actions
Understand and implement mocking with MOQ
Requirements
Basic C# is advisable. Understand classes and methods.
I’ll also be using dependency injection and Entity Framework. Knowing what these are is enough.
Description
While coding is fun and all, you need to make sure your code is always working. When something goes wrong customers usually blame the developers, but 7 out of 10 times it’s a wrong input but the customer. 2 out of 10 times it’s a logic problem (“well, didn’t see that one coming”), and 1 out 10 times its a developers error.
We, developers, cannot think for a customer or all the things a user can do. But we can make sure our code works as it should. Therefore, we should test our code. Not the application, but the logic that makes the application work. This is what we call ‘unit testing’.
For this course, it is convenient if you have some experience with C# and .NET. You don’t need any knowledge of unit testing, because that’s what this course is all about.

Who this course is for:
This course is for beginners that have some experience with C# and want to learn unit testing.
Advanced C# developers can use this course as a refreshment.

More Info

Importantissimo!

Per NON SBAGLIARE link e finire su qualche possibile clone, approfittare di offerte esclusive personalizzate per il nostro sito, e se gradisce questo articolo ed il nostro lavoro, la preghiamo di supportarci rinnovando o sottoscrivendo un Account Premium su FILESTORE cliccando sul link qui sotto:

FileStore

Share This Post!

Torna in cima