---
title: "Unit Testing in VS 2008 - Still not there"
url: "https://osherove.com/blog/2007/10/16/unit-testing-in-vs-2008-still-not-there.md"
canonical: "https://osherove.com/blog/2007/10/16/unit-testing-in-vs-2008-still-not-there.html"
published: "2007-10-16T19:34:21"
updated: "2007-10-16T19:34:21"
tags: ["Unit Testing"]
author: "Roy Osherove"
description: "I'm starting to take a look at VS 2008 and writing down some things that are still \"not there\": Renaming a class using the \"Rename\" refactoring still does not change the file name. Are you kidding me? using \"prop\"…"
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/"
---

# Unit Testing in VS 2008 - Still not there

By Roy Osherove October 16, 2007 In [Unit Testing](https://osherove.com/blog/category/unit-testing)

**Historical article** · Originally published October 16, 2007; technical details may be outdated.

I'm starting to take a look at VS 2008 and writing down some things that are still "not there":

- Renaming a class using the "Rename" refactoring **still** does not change the file name. Are you kidding me?
- using "prop" snippet produces the shorthand syntax for properties. Nice.
- This is still all the refactoring we have by default in VS 2008:

![image](https://osherove.com/img/wb/logs.asp.net_blogs_rosherove_WindowsLiveWriter_UnitTestinginVS2008Stillnotthere_322F_image_thumb.png) Are you kidding me?

- You can finally do [test inheritance](http://blogs.msdn.com/nnaderi/archive/2007/05/11/new-unit-testing-features-in-orcas-part-1.aspx) (and many other small blessings. someone is listening)
- You **Still** have to using anything that derives from Exception but not the "Exception" type in the "Expected Exception" attribute. Truly silly.
- the \[ExpectedException\] attribute is still broken!! This test should fail due to a wrong exception message, but passes:

![image](https://osherove.com/img/wb/gs.asp.net_blogs_rosherove_WindowsLiveWriter_UnitTestinginVS2008Stillnotthere_322F_image_thumb_1.png)

- No easy extensibility mechanism.
- No ability to run NUnit tests.

Someone is not paying enough attention, or has their priorities screwed up.

## More in Unit Testing

[All posts in Unit Testing](https://osherove.com/blog/category/unit-testing)

- Nov 28, 2007

    ### [Data Layer Testing: Test Inheritance Patterns](https://osherove.com/blog/2007/11/28/data-layer-testing-test-inheritance-patterns.html)

- Nov 17, 2007

    ### [Mocking LINQ Queries, Extension methods and Anonymous Types](https://osherove.com/blog/2007/11/17/mocking-linq-queries-extension-methods-and-anonymous-types.html)

- Oct 8, 2007

    ### [The various meanings of TDD](https://osherove.com/blog/2007/10/8/the-various-meanings-of-tdd.html)

- Sep 24, 2007

    ### [Slides and Demos for My Talk: Testing Data Access Code Pragmatically](https://osherove.com/blog/2007/9/24/slides-and-demos-for-my-talk-testing-data-access-code-pragma.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/
