ploeh blog

Mark Seemann's discontinued .NET blog.

January, 2009

Blog - About

About ploeh blog

Mark Seemann was a software development engineer working for Microsoft in Copenhagen, Denmark. This was his (professional) blog. Please visit the current ploeh blog instead.

All postings are provided "AS IS" with no warranties, and confer no rights. Any opinions expressed in this blog are solely those of the author and not official positions of Microsoft Corporation.

  • ploeh blog

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

    • 6 Comments
    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...
  • ploeh blog

    Unit Testing ADO.NET Data Services

    • 4 Comments
    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...
  • ploeh blog

    Unit Testing ADO.NET Data Service Clients

    • 4 Comments
    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...
  • ploeh blog

    A General-Purpose Fake ADO.NET Data Service

    • 2 Comments
    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...
  • ploeh blog

    Faking The Windows Azure Table Service

    • 1 Comments
    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...
  • ploeh blog

    Creating A Fake ADO.NET Data Service

    • 1 Comments
    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...
  • ploeh blog

    Test-Driven Properties

    • 1 Comments
    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...
Page 1 of 1 (7 items)