This blog is where I post about my consulting work with Microsoft Technologies, and other random tidbits that don't fit in my Photo Blog or my Iraq Blog.

Friday, November 21, 2008

Geek notes: Windows on Amazon EC2 and Terminal Server (RDP) Client for iPhone

I've been playing with the new Windows Servers in Amazon EC2. Hosted Windows 2003 Servers for $0.125 per hour... fire one up in a couple minutes and terminal server into it for a couple hours, and turn it off until you need it again... very cool!


I've been thinking about setting up a virtual developer workstation this way, as well as development/test servers.

On a somewhat related note: terminal server (RDP) client for iPhone!


Thursday, November 13, 2008

VS2008 question: How do you make a unit test ONLY run as part of an Ordered Test?

The title of this post pretty much says it all. Visual Studio 2008 supports "Ordered Tests", which are a pretty slick way to run a set of Unit Tests in a set sequence.

Back in the day we had to create one unit test that called the other tests in order to achieve this.

So the new "Ordered Test" is cool except for one problem that I haven't been able to figure out: How do I make a unit test ONLY run as part of an Ordered Test?

The whole point of using the Ordered Test in my case is that I have a bunch of methods with data dependencies that can ONLY be run in a specific order. But I can't figure out how to disable them from running individually... grrr!

I'm sure there is a way to do this, but I haven't been able to figure it out. Your help greatly appreciated!