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

Re: [XP] automated testing makes the team go faster

Expand Messages
  • Adrian Howard
    On 5 May 2005, at 12:35, Willem Bogaerts wrote: [snip] ... [snip] I this works well for you more power to your elbow :-) That said process you describe doesn t
    Message 1 of 29 , May 6, 2005
      On 5 May 2005, at 12:35, Willem Bogaerts wrote:
      [snip]
      > But I think we drift off a bit here, I create my tests, along with the
      > class and method signatures, in an UML program. In my own line of
      > thought (self-brain-washing ? ;) ), I do test first, but I use a UML
      > drawing program just before I code. The drawing program allows me to
      > "sketch" the program structure and look at a larger scope. If, during
      > implementation of the tests, I find out that a parameter is missing or
      > that an instance of a helper class should not be passed but created in
      > the class under test, I get back to the UML drawing program to have a
      > good look at all the options on where to create a class or how to
      > re-order the structure. I feel that, without the sketch phase, my scope
      > is just too limited.
      > Sometimes, like with a project I'm working on now, a class has too many
      > tasks, but I only find out during implementation of it. So I need an
      > extra implementation class. The sketch helps me tell me what classes
      > should have access to it, when and where it should be created, what
      > should be its life-span, etc.
      >
      > Maybe you come to the conclusion that it isn't pure TDD. Fine. Any way,
      > I learned enough of the TDD experiences to let it influence my designs,
      > tests and implementations.
      [snip]

      I this works well for you more power to your elbow :-)

      That said process you describe doesn't bare a lot of relationship to
      the way I do TDD. Having an upfront sketch would I think, for me, get
      in the way of letting the tests tell me where the design should go.

      Cheers,

      Adrian
    Your message has been successfully submitted and would be delivered to recipients shortly.