Skip navigation

Expected exceptions

Expected exceptions: Visual Studio 2015 Essentials 09: Unit Tests
Expected exceptions: Visual Studio 2015 Essentials 09: Unit Tests

xUnit has an interesting approach to exception handling for unit tests It’s different from the MSTest technique. This tutorial shows how to use the Assert.Throws and Record.Test methods to properly assert that an exception should happen during a unit test.

Resume Transcript Auto-Scroll
Skill Level Intermediate
2h 42m
Duration
25,161
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