Extended Unit Test Attributes for Team System

By Roy Osherove In Unit Testing

Markdown version

Historical article · Originally published December 5, 2006; technical details may be outdated.

Justin Burtch just posted a handful of cool attributes that extend the basic testing attributes within Team System's unit test framework.

Some of those include

[Rollback] - to rollback DB changes after the test

[TimedTest] - fail if time expires

[EnvironmentVariable] - Set Env.. var to a value for the duration of the test

[ParameterizedDataMethod] - kinda like MbUnit RowTest

Very cool Justin!

More in Unit Testing

All posts in Unit Testing