Skip navigation

Add an attribute to the Assert class

Add an attribute to the Assert class: Visual Studio 2015 Essentials 09: Unit Tests
Add an attribute to the Assert class: Visual Studio 2015 Essentials 09: Unit Tests

The current implementation of the test project will not scale well with hundreds of tests. Having to manually enter each test in the Test Runner is labor intensive and prone to errors. Most unit testing frameworks rely on .NET reflection to automatically discover tests in a test project. This tutorial shows how to create a custom .NET attribute that enable the auto discovery of test methods.

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