Mastering Unit Testing in C# A Beginner\'s Guide

Last updated 02/2023Duration: 57m | Video: .MP4, 1280x720 30 fps | Audio: AAC, 48 kHz, 2ch | Size: 412 MBGenre: eLearning | Language: English[Auto]


 

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 s it’s a wrong input but the customer. 2 out of 10 s it’s a logic problem (“well, didn’t see that one coming”), and 1 out 10 s 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’.

In this course, I will explain and show you the basics of C# unit testing. I will start with the basic theory of unit testing and the difference between NUnit and XUnit, the two most test frameworks for C# and .NET. Other subjects are assertions, exception testing, and mocking are really important to know and explained. With some practical examples, I will show you how to use and implement them.

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 bners that have some experience with C# and want to learn unit testing.

Advanced C# developers can use this course as a refreshment.

 

Mastering Unit Testing in C# A Beginner's Guide

 

 


 TO MAC USERS: If RAR password doesn't work, use this archive program: 

RAR Expander 0.8.5 Beta 4  and extract password protected files without error.


 TO WIN USERS: If RAR password doesn't work, use this archive program: 

Latest Winrar  and extract password protected files without error.


 Themelli   |  

Information
Members of Guests cannot leave comments.


SermonBox - Seasonal Collection

SermonBox - The Series Pack Collection

Top Rated News

  • Christmas Material
  • Laser Cut & Print Design Elements Bundle - ETSY
  • Daz3D - All Materials - SKU 37000-37999
  • Cgaxis - All Product - 2019 - All Retail! - UPDATED!!!
  • DigitalXModels Full Collections
  • Rampant Design Tools Full Collections Total: $4400
  • FilmLooks.Com Full Collection
  • All PixelSquid Product
  • The Pixel Lab Collection
  • Envato Elements Full Sources- 3200+ Files
  • Ui8.NET Full Sources
  • The History of The 20th Century
  • The Dover Collections
  • Snake Interiors Collections
  • Inspirational Collections
  • Veer Fancy Collections
  • All Ojo Images
  • All ZZVE Collections
  • All Sozaijiten Collections
  • All Image Broker Collections
  • Shuterstock Bundle Collections
  • Tattoo Collections
  • Blend Images Collections
  • Authors Tuorism Collections
  • Motion Mile - Big Bundle
  • PhotoBacks - All Product - 2018
  • Dekes Techniques - Photoshop & Illustrator Course - 1 to 673
Telegram GFXTRA Group
Udemy - Turkce Gorsel Ogrenme Setleri - Part 2
Videohive Wow Pack Series


rss