Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Common Tasks
Blog Home
Email Blog Author
RSS for posts
Atom
Search
Tags
Cloud Computing
Code Camp
Code Generation
Debugging
Delegates
EMTF
Events
Exceptions
Garbage Collector
Globalization
Hardware
HTTP
Links
Localization
Mac OS X
MIX
Object Lifetime
Open Source
Quality Assurance
Runtime Code Compilation
Silverlight
Software Engineering
Testing
Usability
User Experience
Archives
Archives
December 2010
(1)
November 2010
(1)
January 2010
(1)
November 2009
(1)
October 2009
(1)
July 2009
(1)
June 2009
(2)
May 2009
(1)
February 2009
(2)
January 2009
(1)
October 2008
(3)
September 2008
(2)
July 2008
(1)
June 2008
(3)
April 2008
(1)
March 2008
(8)
February 2008
(2)
December 2007
(1)
November 2007
(3)
October 2007
(3)
September 2007
(2)
July 2007
(1)
June 2007
(5)
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Dennis "D.C." Dietrich
301
Posted
over 3 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
HTTP/1.1 301 Moved Permanently Location: http://ddietric.wordpress.com
Dennis "D.C." Dietrich
Decoding standard output and standard error when redirecting to a GUI application
Posted
over 3 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
The Process class allows you to redirect the three streams basic I/O streams of a process: standard input, standard output and standard error. This is particularly useful for programmatically running console applications and capturing their output. And...
Dennis "D.C." Dietrich
D.C. and the Wrapper Factory
Posted
over 3 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
A while ago I wrote about using reflection for testing non-public members . Since then I've been increasingly annoyed by the repetitive nature of that approach. At some point it occurred to me that it should be possible to automate the mundane and boring...
Dennis "D.C." Dietrich
DTACM (D.C.'s Test Automation Coding Manifesto)
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
All the wonderful colors of code coverage
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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 ...
Dennis "D.C." Dietrich
EMTF 2.0 Beta released
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
1
Comments
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...
Dennis "D.C." Dietrich
Adding and removing websites to/from security zones programmatically (C#)
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
1
Comments
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...
Dennis "D.C." Dietrich
HTTP debugging for Silverlight developers (Mac OS X edition)
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
1
Comments
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...
Dennis "D.C." Dietrich
Back from Portland Code Camp
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
Creating an API testing framework 101
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
2
Comments
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...
Dennis "D.C." Dietrich
Introducing EMTF
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
The ultimate ExceptionAssert.Throws() method
Posted
over 4 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
It's all about systems - even if you're testing only a component
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
1
Comments
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...
Dennis "D.C." Dietrich
MIX09 announced
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
I Am The Seattle Code Camp (And So Can You!)
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
Which Microsoft virtualization solution to use for software testing
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
1
Comments
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...
Dennis "D.C." Dietrich
A poor man's approach to testing with databases
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
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...
Dennis "D.C." Dietrich
Pimp your VSTT exception tests
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
5
Comments
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...
Dennis "D.C." Dietrich
Unit testing non-public types using reflection
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
1
Comments
Let's say you want to unit test the following class: using System; internal class Foo { internal Foo( object parameter) { if (parameter == null ) throw new ArgumentException (); } internal int ReturnZero() { return...
Dennis "D.C." Dietrich
How would you test a... C# code generator with Visual Studio Team Test
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
Introduction I spent some time this week thinking about how to test a code generator that generates C# code and is itself written in C# (so it's once again all about managed code). At first I thought about how to verify the generator output directly...
Dennis "D.C." Dietrich
Compiling code at runtime, C# 3.0 and "Compiler executable file csc.exe cannot be found"
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
Compiling code at runtime is incredibly easy thanks to the CSharpCodeProvider class. But as always, there is a catch. Let's say you have the following code snippet somewhere in your shiny new VC# 2008 project: CSharpCodeProvider codeProvider = new...
Dennis "D.C." Dietrich
Transitionals - About a little piece of Acropolis that wanted to become open source
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
While Microsoft is certainly not an open source company there are some instances of code drops from, and open source projects started by teams at Microsoft that are released under licenses which comply with the definition of open source as defined by...
Dennis "D.C." Dietrich
Reflections on MIX 08 part II: What's the secret Formula?
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
One of the outstanding sessions I attended was What's the secret Formula? (PNL14) . The panelists were (in alphabetical order): Dan Harrelson - Senior Technologist, Adaptive Path LLC Daniel Makoski - Microsoft Corporation Jensen Harris - Principal Group...
Dennis "D.C." Dietrich
And another award for Skinkers...
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
If you read my Silverlight-based P2P live streaming client wins MediaGuardian Innovation Award post you might say that this is getting old but at the same time I really think it's worth mentioning that there is a product and a partnership involving Silverlight...
Dennis "D.C." Dietrich
Reflections on MIX 08 part I: First day keynote
Posted
over 5 years ago
by
Dennis 'D.C.' Dietrich [MSFT]
This is the first on an n part post series about my personal thoughts on this year's MIX based on notes I took during the conference (and, no, I don't know the value of n yet). Let's start with the keynote on the first day which was a great kickoff with...
Page 1 of 2 (47 items)
1
2