Running two Microsoft Test Manager’s Side By Side

When working with Microsoft Test Manager (MTM), you might want to run two at a time. We often want this internally so we can test MTM with MTM. However, when we created MTM, we didn’t want people to accidently open up multiple instances just because they lost MTM in the noise of all the windows…

0

Republishing Results

There was a interesting question posted in my comments on the TRX file format, about being able to republish results to TFS Server. This is an oft requested behavior, and the short answer is “no, you can’t”. Once you’ve published it, it’s there forever. You can, technically, delete an re-publish, but in the scenario DmytroL…

2

This weeks favourite WPF Feature

I’ve recently been trying to resolve some issues related to large fonts / high DPI, and while they’ve all been simple, one thing had been bothering me in my “designer hat” mode of thinking. We’ve got the titles of a number of documents in our shell selectable, and copyable, but not editable. This is to…

1

Helpful Internals of TRX (and VSMDI files)

One of the questions that comes up internally, and externally is “What are these magic GUID attributes in the file? How can I generate them?”. This is often from people who are creating tools to export TRX files from some sort of private test hardness, or generate VSMDI files in an automated fashion. Note, that…

7

Running Tests as ‘MTA’

There was an internal discussion this week about the need to run unit tests under MTA threads, rather than the default STA — either for COM, or in this specific discussion for WaitHandle.WaitAll. Mark Seemann went and posted a short guide on how to enable this in both Visual Studio 2005 (whidbey) and Visual Studio…

1

Private[Object|Type|Accessors] & Automatic unpacking of ref/out params

I was writing some unit tests yesterday, and needed to test a private method. As I was gleely tapping in the code to call my static method using PrivateType, I noticed that two of my parameters were “out” parameters. I immediately went ‘Hmm, I bet private type doesn’t do anything special for those parameters’. I…

0

Unit Testing Dependency Properties with VSTT, a first stab

I’ve been playing around with WPF recently, and one of the things I’ve ended up doing is creating a set of custom controls (rather than User controls), as well as what I will call ‘aggregation’ classes[1]. Some of these have had a fair chunk of code that has been in need of unit testing. We…

1

STARWest meetup?

Some of the team are at the STARWest conferance in Anaheim this week. We’re here for the two “Tutorial” days, and the full conference itself. While we’re not here to demo, or hang out in the expo hall (We’re just regular attendies), we’d love to meet up with any customers and users out there to…

1

Where Have I been? Helping make Team System Rock!

Well, It’s been a long time since I blogged – actually, I’ve not blogged since we shipped our very first release just after Beta 1. So, what’s been happening with the Testing tools in Team System? Well, I’ve still got Test View, Manual Testing and Test Project but I now also own Unit Test Debugging,…

1

Custom Test Properties & Test View – What is & What will be…

Ok, So I’d thought about this blog yesterday but discounted it ‘cause its not really my area. But what the heck   There is a very cool feature, which isn’t fully surfaced yet in the UI. This allows you to define new properties for your tests, which can be shown in the property window. Under…

0