ploeh blog

Mark Seemann's discontinued .NET blog.
Posts
  • ploeh blog

    How To Dispose Members From Forms

    • 19 Comments
    When you create a new Form (or UserControl for that matter), Visual Studio creates it as a partial class, with the designer-generated code going into the *.Designer.cs file. One other piece of code that also goes into the designer code is an override...
  • ploeh blog

    Test Types

    • 12 Comments
    The recent discussion spawned by my former post has prompted me to write this entry about test types. There's not a single clear definition of what a unit test is, so sometimes people approach me with unit testing challenges that don't really relate to...
  • ploeh blog

    Volatile Dependencies

    • 5 Comments
    Unit testing is all about testing your code in isolation from its dependencies. Why is it important to isolate your code from its dependencies? There may be several reasons: A dependency introduces a requirement to set up and configure the environment...
  • ploeh blog

    Speaking At TechEd, Barcelona

    • 7 Comments
    TechEd Developers 2006 is in Barcelona in November, and I have had the honor of being invited to deliver a talk on unit testing best practices using Visual Studio 2005 Team System. Since breakout sessions at Microsoft conferences are always one hour and...
  • ploeh blog

    Debugging When Property Reads Have Side Effects

    • 2 Comments
    The last couple of days, I've been working with some code where there was a side effect when a particular property was read. This made it more cumbersome to debug the code, until a very simple solution dawned on me. It's so stupidly simple that I suspect...
Page 1 of 1 (5 items)