Loading ...
Sorry, an error occurred while loading the content.

[XP] Re: Mocks: How to make sure they behave like the real thing

Expand Messages
  • Dave Nicolette
    ... That depends on the context. Dave
    Message 1 of 115 , Jun 1, 2007
    • 0 Attachment
      --- In extremeprogramming@yahoogroups.com, "Desilets, Alain"
      <alain.desilets@...> wrote:
      >
      > Context is everything isn't it?
      >

      That depends on the context.

      Dave
    • J. B. Rainsberger
      ... I worked on one project trying to organize C code in an OO fashion using various pointer-related idioms I didn t entirely understand. This experience
      Message 115 of 115 , Jun 14, 2007
      • 0 Attachment
        George Dinwiddie wrote:

        > J. B. Rainsberger wrote:
        > > I would never use mocks on a C project; but of course, I would never
        > > work on a C project.
        >
        > I've certainly used fakes and stubs on C projects. In fact, the
        > practice lead me to heavy reliance on function pointers long before I
        > started using OO.

        I worked on one project trying to organize C code in an OO fashion using
        various pointer-related idioms I didn't entirely understand. This
        experience rather entrenched my distrust of C.
        --
        J. B. (Joe) Rainsberger :: http://www.jbrains.ca
        Your guide to software craftsmanship
        JUnit Recipes: Practical Methods for Programmer Testing
        2005 Gordon Pask Award for contribution Agile Software Practice
      Your message has been successfully submitted and would be delivered to recipients shortly.