Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

C# Unit Testing Example

Raw Coding via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to write effective C# unit tests with mocking for a real-world application in this 26-minute video tutorial. Explore the process of creating order mocks, implementing service mocking, and testing checkout dependencies. Dive into property testing, order placement, and creating order references. Discover techniques for sending email requests, handling full order cards, and crafting email messages. Embrace test-driven development principles while testing with email and interfaces. Master the art of injecting services to create robust and maintainable unit tests for your C# projects.

Syllabus

Introduction
Testing
Create Order
Mock Services
Mocking Checkout
Dependencies
Prop
Testing Results
Order Placement
Create Order Reference
Send Email Request
Full Order Card
Email Message
Test Driven
Testing with Email
Testing with Interface
Injecting the Service

Taught by

Raw Coding

Reviews

Start your review of C# Unit Testing Example

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.