ploeh blog

Mark Seemann's discontinued .NET blog.

ploeh blog Is Moving

After three years on MSDN blogs, I'll be moving my blog to https://blog.ploeh.dk. Why? Read the...

Date: 02/11/2009

Faking The Windows Azure Table Service

When presented with a new technology, one of my primary evaluation criteria is its testability, so...

Date: 01/24/2009

A General-Purpose Fake ADO.NET Data Service

In my previous post, I discussed how to implement a Fake ADO.NET Data Service for use with unit...

Date: 01/20/2009

Creating A Fake ADO.NET Data Service

Previously, I discussed unit testing ADO.NET Data Service clients using a Fake ADO.NET Data Service,...

Date: 01/19/2009

Unit Testing ADO.NET Data Service Clients

In my previous post, I discussed unit testing ADO.NET Data Services and how you can host and test...

Date: 01/14/2009

Unit Testing ADO.NET Data Services

ADO.NET Data Services enables you to expose data (including, but not limited to, relational data) as...

Date: 01/13/2009

Test-Driven Properties

Zero-Friction TDD post #10: In principle, defining properties (or fields, for that matter) while...

Date: 01/12/2009

Use The Generate Method Stub Smart Tag To Stay In The Zone

Yet Another Zero-Friction TDD Article (YAZFTA): When writing unit tests in the TDD fashion, it's...

Date: 01/05/2009

Assert Messages Are Not Optional

...and now, in this week's episode of Zero-Friction TDD: Optional Assert messages that aren't...

Date: 12/17/2008

First Dynamics Mobile Post

Yesterday, I posted my first post over on the Microsoft Dynamics Mobile Team blog. More are likely...

Date: 12/12/2008

Why Use AreEqual?

This is a post in my Zero-Friction TDD series. One of my colleagues recently asked my why I prefer...

Date: 12/11/2008

3 Is Many

This is an installment in my Zero-Friction TDD series. When I was a kid, my parents taught me that...

Date: 12/08/2008

Creating Azure Tables From Script

When working with the Windows Azure Storage service, you must create the tables before you can use...

Date: 12/04/2008

testmethod Code Snippet

This is an installment in my Zero-Friction TDD series. If you are a regular reader of this blog, you...

Date: 12/01/2008

Ignore Irrelevant Return Values

This is an installment in my Zero-Friction TDD series. Sometimes, you don't care about the return...

Date: 11/21/2008

Microsoft Dynamics Mobile 1.5 Released

If you are wondering about what I'm doing these days, we (the Microsoft Dynamics Mobile Team) just...

Date: 11/17/2008

Anonymous Variables

This post is an installment in my series on Zero-Friction TDD. Often when writing a unit test, the...

Date: 11/17/2008

Naming Direct Output Variables

In my series of Zero-Friction TDD tips and tricks, it's time to look at naming Direct Output...

Date: 11/14/2008

Zero-Friction TDD

Writing good code is difficult. Unit tests are written as code, so a corollary to the first sentence...

Date: 11/13/2008

Assert.Throws

xUnit.net provides the Assert.Throws method for testing exceptions, instead of the ExpectedException...

Date: 11/12/2008

At PDC

I'm currently at PDC in Los Angeles, so if you are here as well, take a moment to say hello if you...

Date: 10/28/2008

UAC Privileges Flow Across WCF Boundaries

Today, I just spent an entire afternoon troubleshooting a problem in one of my WCF services. When...

Date: 10/24/2008

Naming SUT Test Variables

If you are a regular reader of this blog, you may have noticed that for the last couple of months,...

Date: 10/06/2008

Testing Against the Real Event Log

Lots of applications write to the Windows Event Log. When TDD'ing, event logging is part of an...

Date: 10/03/2008

SqlExpressDatabaseInstaller

When unit testing data access components, I prefer to test against run-time components that match...

Date: 09/17/2008

N-Tier Synchronization With The Sync Framework And WCF ChannelFactory (Part 1)

Sync Services for ADO.NET 2.0 allows a proper n-tier architecture where you can synchronize a client...

Date: 08/26/2008

An Overview of Unit Testing Duplex WCF Services and Clients

In the last couple of posts, I've demonstrated how to isolate implementation from WCF contract...

Date: 07/12/2008

Unit Testing Duplex WCF Clients

In my previous post, I explained how to unit test a WCF service with callbacks. Since the scenario...

Date: 07/08/2008

Unit Testing Duplex WCF Services

One of my readers recently asked me about unit testing WCF services when they have callbacks. Given...

Date: 06/28/2008

Modifying Behavior of WCF-Free Service Implementations

In my previous post, I explained how to implement a WCF service without referencing WCF. In simple...

Date: 06/27/2008

Implementing WCF Services Without Referencing WCF

More than a year ago, I wrote my first post on unit testing WCF services. One of my points back then...

Date: 06/26/2008

Speaking in ANUG

Aarhus .NET User Group has been so kind to invite me to come and give a session on June 25th, 2008,...

Date: 06/12/2008

Test-Specific APIs With Extension Methods

Writing maintainable tests that clearly communicate intent can sometimes be a challenging...

Date: 06/02/2008

Declarative Use of Custom SecurityTokenParameters

It's not the first time I've stated this, but one of the reasons I love WCF is that it's so...

Date: 05/01/2008

Unit Testing Anti-Pattern #2: Not Covering Bugs In Your Tests With Tests

Roy just posted a unit testing anti-pattern based on his personal experience. I'd like to follow up...

Date: 05/01/2008

Vote For Better TDD Support in Visual Studio 2008

Eric Jorgensen has created a Microsoft Connect item asking for better TDD support in Visual Studio...

Date: 04/18/2008

Automatically Generating LINQ To SQL Models From T-SQL

With LINQ to SQL, a couple of questions quickly arise: Since you can create a data model directly in...

Date: 04/10/2008

Visual Studio 2008 PowerShell

Ever since I first saw a demo of PowerShell some five years ago, I've been wanting to use it for...

Date: 04/09/2008

Leapling

Something's been bugging me for all of March. Okay, so maybe not all the time, but it keeps coming...

Date: 03/25/2008

Provider Injection With Funcs

Some of the new stuff in .NET 3.5 makes it much easier to implement Provider Injection. If you take...

Date: 03/25/2008

CertificateInstaller

In what is increasingly beginning to look like a series of posts on using Installers for fixture...

Date: 03/15/2008

Typemock

Roy recently posted his thoughts on Typemock - whether it's too powerful and will kill TDD. His...

Date: 03/04/2008

New Job

When I start working April 1 after my parental leave, I'm not going back to my old job as a...

Date: 02/29/2008

Page.User Population From Custom Authenticators For ASP.NET

One of my readers have asked me how to create a custom authenticator for ASP.NET and populate...

Date: 02/10/2008

Data Access Component Testing Redux

About a year ago, I wrote about data access component testing using a custom helper class for...

Date: 01/31/2008

SqlScriptListInstaller

The last of a series of SQL Server-related database Installers is a little helper that simply makes...

Date: 12/11/2007

SqlScriptInstaller

In my previous post I described a general-purpose Installer that can be used to create a SQL Server...

Date: 12/01/2007

SqlDatabaseInstaller

Installers provide a consistent way of implementing automated setup logic for an application, and as...

Date: 11/29/2007

Next>