[ Content | View menu ]

Tom White understands literate programming

Written on 12 May 2006

Tom White shows that he understands the descriptive aspects of what we were trying to do with jMock

Filed in: Agile Programming.

2 Comments

Comments closed

  1. Comment by Frank Carver:

    When you read his examples the “eq” seems very hacky and bends the literate approach out of shape a bit.

    Why not add an extra method named something resembling “islike” as a synonym for the horrible eq, then you can say:

    assertThat(a, islike(”3″));

    or

    assertThat( theEndResult, islike( theDesiredExample ));

    More literate, hmm?

    12 May 2006 @ 14:07
  2. Trackback from DaveAstels.com:

    Tom White’s Blog: Literate Programming with jMock

    Tom White’s Blog: Literate Programming with jMock: ” Posted by tomwhite on May 11, 2006 at 11:10 AM We’ve been using jMock at our company for some time now. We’ve found it great for test driven development and isolating our unit tests from the rest of the

    12 May 2006 @ 14:32