Skip navigation

Expected exceptions

Expected exceptions: Visual Studio 2015 Essentials 09: Unit Tests
Expected exceptions: Visual Studio 2015 Essentials 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.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 42m
Duration
24,720
Views
Show More Show Less
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