Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

DTACM (D.C.'s Test Automation Coding Manifesto)

I find myself getting more and more frustrated whenever I see test code that is best described as quick and dirty. Now, sometimes I do acknowledge that the world is not perfect (has never been and will never be) so I realize that the following is really
Posted by ddietric | 0 Comments

All the wonderful colors of code coverage

I'd like to share my colors with you: R G B Coverage Not Touched Area 230 128 165 Coverage Partially Touched Area 191 210 249 Coverage Touched Area 180 228 180 These are the colors I prefer for code coverage in Visual Studio and if you've used the first
Posted by ddietric | 0 Comments
Filed under:

EMTF 2.0 Beta released

It's been a couple of months since I first blogged about EMTF . Since then I've been busy refining and extending the framework and I'm happy to announce that the beta release of version 2.0 is finally done! Special thanks to Josh Poley since a lot of
Posted by ddietric | 1 Comments

Adding and removing websites to/from security zones programmatically (C#)

When you're searching binging for how to add or remove websites to/from IE's security zones you'll find tons of samples all showing how to achieve this by creating and deleting registry keys. While doing so will probably work just fine in most scenarios,
Posted by ddietric | 1 Comments

Attachment(s): UrlMon.Idl

HTTP debugging for Silverlight developers (Mac OS X edition)

Many posts have been written about how to debug problems with issuing HTTP requests from Silverlight applications, particularly in the context of web services and WCF (see for example Debugging Web Service Usage in Silverlight 2 or Faults and Exceptions

Back from Portland Code Camp

The Portland Code Camp yesterday was a blast. In fact, it was one of the best (un)conferences I've been to so far with a wide variety of topics and I'd like to share my personal Top 3 Best of Portland Code Camp 2009 (but keep in mind that that's 3 out

Creating an API testing framework 101

Writing a fully featured API testing solution is a lot of work. You have to deal with things like test case management, integration with code coverage tools or test execution on server farms. However, the core of a (reflection-based) API testing framework
Posted by ddietric | 2 Comments
Filed under: ,

Introducing EMTF

A while ago a needed to do what I like to call quick and dirty testing , i.e. getting as much test coverage as possible in a given period of time. To make things worse, I was working on a client-server feature requiring a bit of setup in order to work

The ultimate ExceptionAssert.Throws() method

A while ago I published a post titled Pimp your VSTT exception tests in which I pointed out some disadvantages of VSTT's declarative approach to testing for exceptions and provided an alternative. I recently gave this some more thought while writing some
Posted by ddietric | 0 Comments

It's all about systems - even if you're testing only a component

Earlier this year I bought a brand new computer and wanted to play what turned out to be one of my favorite games of all times. However, it also turned out that this new computer of mine came with a pretty bad graphics card. It did work but the performance
Posted by ddietric | 1 Comments
Filed under: ,

MIX09 announced

Don't make any plans for March 18-20 next year (or cancel the plans you've already made) since that's when MIX will happen once again in Las Vegas. The MIX09 website is already online and if you liked what we showed you this year you will love the cool
Posted by ddietric | 0 Comments
Filed under: ,

I Am The Seattle Code Camp (And So Can You!)

I have to admit something embarrassing: I've never been to a code camp! So, I thought, before people start making fun of me because of this, I'd better sign up for the Seattle Code Camp v4.0 which will be held on the third weekend next month in... Redmond
Posted by ddietric | 0 Comments
Filed under:

Which Microsoft virtualization solution to use for software testing

I have to admit the title is a bit misleading this time since - if you ask me - there is only one answer: Hyper-V ! It is the first Microsoft virtualization product to support 64-bit guest operating systems, SMP for some guests (see Supported Guest Operating
Posted by ddietric | 1 Comments
Filed under: ,

A poor man's approach to testing with databases

Say you are working on software that accesses a database server and you need to test it. To some extent you'll probably try to not actually hit the database with your tests by using a mock. However, this is not always possible, especially when we're dealing
Posted by ddietric | 0 Comments
Filed under:

Pimp your VSTT exception tests

Writing unit tests in VSTT is great since it comes with a nice unit testing framework and the test tools are neatly integrated into Visual Studio. There is one exception though: Exception testing (yes, that pun was intended). Consider the following example:
Posted by ddietric | 5 Comments
More Posts Next page »
 
Page view tracker