Skip navigation

Expected exceptions

Expected exceptions: Visual Studio Essential Training: 09 Unit Tests
Expected exceptions: Visual Studio Essential Training: 09 Unit Tests

There is a special type of unit test needed when dealing with unhandled exceptions in the system code. This tutorial shows how to use the ExpectedException attribute to properly assert that an exception should happen during a unit test.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 42m
Duration
49,495
Views
Show More Show Less

Q: This course was updated on 08/22/2017. What changed?

A: New videos were added that cover live unit testing and creating a project with the unit test framework.

Skills covered in this course
Development Tools Developer Visual Studio

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now