in

Agile Israel

Israel's first Agile Development Community

Browse by Tags

  • Basic Guidelines for using RowTest and data driven tests

    I took a look at the code that was used to create the NUnit RowTest Extension (which is pretty neat) and found this in one of the samples: The highlighted areas in the code show something which I feel is problematic and is the manifestation of a unit test anti-pattern which the XUnit book calls "Interacting...
    Posted to ISerializable (Weblog) by Anonymous on 12-18-2007
  • Data Layer Testing: Test Inheritance Patterns

    I'm preparing for my tutorial on Database and Data Layer unit testing that I will be giving at the Agile Practices Conference  next week. It's always nice to have a full 3 hours to get pretty deep into something. 75 minutes just isn't enough to grasp a concept deeply enough, just to...
    Posted to ISerializable (Weblog) by Anonymous on 11-28-2007
  • Mocking LINQ Queries, Extension methods and Anonymous Types

    One of the things I wanted to show at my Interactive session on unit testing tips and tricks at TechEd this year was how you can "Stub" out results from LINQ Queries, or mock\stub Extension methods in .NET 3.5 ( what's the difference between mocks and stubs?) The only mocking framework...
    Posted to ISerializable (Weblog) by Anonymous on 11-17-2007
  • The various meanings of TDD

    Now that I'm having some real time to write something I thought I'd try to write down my thoughts starting all the way back from JAOO and what I learned from it. Specifically the whole notion of TDD, and what does TDD mean to different people. "TDD will deteriorate your design". that...
    Posted to ISerializable (Weblog) by Anonymous on 10-08-2007
  • The Art Of Unit Testing - Available to Purchase Online Now

    I'm happy to announce that you can now purchase my book The Art Of Unit Testing through the Manning Early Access Program. Currently, the first five chapters are available, but when you purchase the MEAP version you get the new chapters as they come in, before anyone else. Also, you can help make...
    Posted to ISerializable (Weblog) by Anonymous on 09-26-2007
  • Code-Reuse in unit tests is more important than you think

    Scott Bellware mentions how he really likes the new ideas in XUnit.NET, especially the lack of [Setup] and [TearDown] methods. (Brad Wilson wrote in the comments to my post about XUnit.NET that you can mimic this behavior by using the constructor of the test class and the IDisposable.Dispose() method...
    Posted to ISerializable (Weblog) by Anonymous on 09-22-2007
  • TDD Pattern: Composite Logic Development and Testing

    Here's a video I made that captures my current thoughts on writing complex business rules which have lots of validation logic. Here's the scenario I show in the video: A Validate method on an object actually uses lots of smaller methods to return a result. The idea is to actually write separate...
    Posted to ISerializable (Weblog) by Anonymous on 09-18-2007
  • Mocks and Stubs - The difference is in the flow of information

    In class today when explaining the difference between stubs and mocks, I realized a simple explanation to this: Stubs and mocks may seem the same but the flow of information from each is very different. Stubs provide input for the application under test so that the test can be performed on something...
    Posted to ISerializable (Weblog) by Anonymous on 09-16-2007
Page 1 of 1 (8 items)
Copyright 2007 Roy Osherove