Dominic Hopton's Blog

A Compendium of blogsicles

  • Dominic Hopton's Blog

    Running two Microsoft Test Manager’s Side By Side

    • 0 Comments
    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...
  • Dominic Hopton's Blog

    Republishing Results

    • 2 Comments
    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...
  • Dominic Hopton's Blog

    This weeks favourite WPF Feature

    • 1 Comments
    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...
  • Dominic Hopton's Blog

    Helpful Internals of TRX (and VSMDI files)

    • 7 Comments
    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...
  • Dominic Hopton's Blog

    Running Tests as 'MTA'

    • 1 Comments
    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...
  • Dominic Hopton's Blog

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

    • 0 Comments
    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...
  • Dominic Hopton's Blog

    Unit Testing Dependency Properties with VSTT, a first stab

    • 1 Comments
    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...
  • Dominic Hopton's Blog

    STARWest meetup?

    • 1 Comments
    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...
  • Dominic Hopton's Blog

    Where Have I been? Helping make Team System Rock!

    • 1 Comments
    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...
  • Dominic Hopton's Blog

    Custom Test Properties & Test View - What is & What will be...

    • 0 Comments
    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...
  • Dominic Hopton's Blog

    Tips & Tricks: Set the output type to EXE and give it a main method

    • 3 Comments
    Ok, you’ve written your tests, and you want to debug them or you’ve got a test failing and you can’t quite see why. What are you gonna do? Well, right now we don’t have built in support for debugging of tests, but there is a sneaky...
  • Dominic Hopton's Blog

    No! My Run config got toasted!

    • 0 Comments
    Another problem with the run configuration is that the template runconfig (The one that gets added to new solutions) can easily become overwritten with your user one, thus potentially screwing up test execution for all projects AND new projects. This...
  • Dominic Hopton's Blog

    Setup Failure – It’s just throwing a tantrum

    • 4 Comments
    One of the problems we came across during the last moments of testing for the CTP was a very rare situation where setup will tell you that it has failed, implying your screwed and will have a very messy setup. This is not what it seems at first :) ...
  • Dominic Hopton's Blog

    I turned off code coverage and I can’t run my tests anymore!

    • 0 Comments
    This is a problem we only found out after we’d sent off the DVDs to be pressed, and turns out to easy to repro, but also easy to workaround. It’s also got a slightly strange workflow compared to the way we think a lot of people will be using...
  • Dominic Hopton's Blog

    Test View – your new most used window

    • 7 Comments
    Let’s take a look at the Test View tool window – the place where you will be running your tests from as you develop and debug them. Test View provides you with a flat list of all your tests, with each test only listed once. From this window...
  • Dominic Hopton's Blog

    Who the heck are you?

    • 1 Comments
    I’m Dominic, and I’m an SDE/T on the Enterprise Developer Tools team here at Microsoft, which is part of the bigger Visual Studio Team System product. Specifically within EDT, I work the quality tools team – we own the unit testing,...
Page 1 of 1 (16 items)