---
title: "Extended Unit Test Attributes for Team System"
url: "https://osherove.com/blog/2006/12/5/extended-unit-test-attributes-for-team-system.md"
canonical: "https://osherove.com/blog/2006/12/5/extended-unit-test-attributes-for-team-system.html"
published: "2006-12-05T05:08:47"
updated: "2006-12-05T05:08:47"
tags: ["Unit Testing"]
author: "Roy Osherove"
description: "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…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Extended Unit Test Attributes for Team System

By Roy Osherove December 5, 2006 In [Unit Testing](https://osherove.com/blog/category/unit-testing)

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

[Justin Burtch just posted](http://jburtch.spaces.live.com/Blog/cns!F1960C7173E954EA!285.entry) 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](https://osherove.com/blog/category/unit-testing)

- Dec 9, 2006

    ### [Unit Testing your ASP.NET Validators - Validation Everywhere](https://osherove.com/blog/2006/12/9/unit-testing-your-aspnet-validators-validation-everywhere.html)

- Dec 8, 2006

    ### [BSDAgile - Team System Project Template for Extreme Programming](https://osherove.com/blog/2006/12/8/bsdagile-team-system-project-template-for-extreme-programmin.html)

- Nov 25, 2006

    ### [Solving &quot;An error occurred while enlisting in a distributed transaction&quot; error when using Rollback Attribute or COM+ in unit tests](https://osherove.com/blog/2006/11/25/solving-ampquotan-error-occurred-while-enlisting-in-a-distri.html)

- Nov 7, 2006

    ### [Agile Development Sessions - Slides and Demos from TechEd](https://osherove.com/blog/2006/11/7/agile-development-sessions-slides-and-demos-from-teched.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
