Welcome to MSDN Blogs Sign in | Join | Help

January 2009 - Posts

Faking The Windows Azure Table Service

When presented with a new technology, one of my primary evaluation criteria is its testability, so it should come as no surprise to the regular reader of this blog that this was also foremost in my mind when Windows Azure was presented at PDC. Much of
Posted by ploeh | 1 Comments
Filed under: ,

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 testing, showing how you can develop a one-off service that addresses specific needs, such as querying parents and children in the example. As I hinted in
Posted by ploeh | 2 Comments
Filed under: ,

Attachment(s): DataServicesQualityTools.zip

Creating A Fake ADO.NET Data Service

Previously , I discussed unit testing ADO.NET Data Service clients using a Fake ADO.NET Data Service, and I promised to demonstrate how to create such a service. In this article I will continue the previous example and implement the Fake MyService class.
Posted by ploeh | 1 Comments
Filed under: ,

Attachment(s): DataServiceTesting.zip

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 the service itself. In this post, I'll take a look at the opposite scenario: You have a client of an ADO.NET Data Service, and you want to unit test the
Posted by ploeh | 2 Comments
Filed under: ,

Unit Testing ADO.NET Data Services

ADO.NET Data Services enables you to expose data (including, but not limited to, relational data) as REST services. Since it's built on top of WCF, it can be tested utilizing similar techniques , but allow me to elaborate a bit on the subject. As with
Posted by ploeh | 1 Comments
Filed under: ,

Test-Driven Properties

Zero-Friction TDD post #10: In principle, defining properties (or fields, for that matter) while TDD'ing should be no different than defining methods . Again, the important part is to stay focused on the test at hand, and not become bogged down by implementation
Posted by ploeh | 1 Comments

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 important to stay in the zone and not get side-tracked by irrelevant issues. You need to avoid what I call mental context switching. Focus on writing the
Posted by ploeh | 4 Comments
 
Page view tracker