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

[XP] Re: Testing Leftover

Expand Messages
  • Dave Astels
    ... Yes, working with legacy is different. There it s largely do what you can . Dave
    Message 1 of 42 , Jun 1, 2004
      --- In extremeprogramming@yahoogroups.com, Michael Feathers
      <mfeathers@m...> wrote:
      >
      > >> Requirement - do not leave testing code in operational code.
      > >> (I think it's a reasonable one)
      >
      > DA> Fully. never, Never, NEVER pollute your production code with
      > DA> test-only code. Especially getters/setters.
      >
      > I tend to agree, for good code, but in legacy code often techniques
      > like that are the only thing around that help you gain traction.

      Yes, working with legacy is different. There it's largely "do what
      you can".

      Dave
    • Phlip
      ... The author of /Working Effectively with Legacy Code/ has reminded us that _in_ sight is better. More team awareness of the difference between the real and
      Message 42 of 42 , Jun 1, 2004
        Ian Collins wrote:

        > I prefer it shorter, uglier and out of sight!

        The author of /Working Effectively with Legacy Code/
        has reminded us that _in_ sight is better. More team
        awareness of the difference between the real and the
        ideal.


        =====
        Phlip
        http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces




        __________________________________
        Do you Yahoo!?
        Friends. Fun. Try the all-new Yahoo! Messenger.
        http://messenger.yahoo.com/
      Your message has been successfully submitted and would be delivered to recipients shortly.