Assert Messages Are Not Optional

…and now, in this week’s episode of Zero-Friction TDD: Optional Assert messages that aren’t optional anyway! Actually, this piece of advice comes almost directly from the xUnit Test Patterns book, so I was in doubt whether I should post it all, but it bears repeating, and I guess I still have a few things to…

5

First Dynamics Mobile Post

Yesterday, I posted my first post over on the Microsoft Dynamics Mobile Team blog. More are likely to follow. In case you are wondering what this means for this blog, the answer is: Nothing. I plan to continue blogging in more or less the same vein as I’ve done for the last three years now.

0

Why Use AreEqual<T>?

This is a post in my Zero-Friction TDD series. One of my colleagues recently asked my why I prefer Assert.AreEqual<T> over one of the non-generic Assert.AreEqual overloads for primitive types. In most cases, I’m very happy with the C# compiler’s ability to infer generic type arguments from the method call parameters, but this case is…

1

3 Is Many

This is an installment in my Zero-Friction TDD series. When I was a kid, my parents taught me that many is any number above three two*; they used the simple counting sequence one, two, many. This little story may make me seem like I was an incredibly dim-witted kid, but the point was obviously not…

2

Creating Azure Tables From Script

When working with the Windows Azure Storage service, you must create the tables before you can use them; in essence, defining the ‘schema’ of your Azure storage service. On his blog, Steve Marx writes: “Probably the best solution is to have separate initialization code that creates your tables.  This is analogous to the pattern of…

4

testmethod Code Snippet

This is an installment in my Zero-Friction TDD series. If you are a regular reader of this blog, you may have noticed a certain pattern in my unit test examples (like this one). This is because I always follow the Four-Phase Test pattern (which is a superset of the more well-know Triple-A (Arrange Act Assert)…

2