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

Re: [XP] Re: Testing Leftover

Expand Messages
  • J. B. Rainsberger
    ... I m not Dave, but if I change a public method to private, then there must not be any tests that invoke the method directly, otherwise I would have rather a
    Message 1 of 2 , Jun 2, 2004
      Steven Gordon wrote:

      > Dave,
      >
      > Are you saying that you always have enough foresight when doing TDD to never develop public methods that later get refactored into being private methods (e.g., utilized by 2 or more new public methods in the same calss in order to eliminate duplication)?

      I'm not Dave, but if I change a public method to private, then there
      must not be any tests that invoke the method directly, otherwise I would
      have rather a glaring compile error.
      --
      J. B. Rainsberger,
      Diaspar Software Services
      http://www.diasparsoftware.com :: +1 416 791-8603
      Let's write software that people understand
    Your message has been successfully submitted and would be delivered to recipients shortly.