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

Re: [XP] Observation on unit testing - the code still fails?!

Expand Messages
  • J. B. Rainsberger
    ... Yep, and the old answer appears still to apply: if you don t know who is passing the parameters, check them; otherwise, be reasonable.
    Message 1 of 25 , Dec 29, 2001
    • 0 Attachment
      Bruce A. Petro wrote:

      ><snip />
      >
      >This gets into
      >contract behavior and the old question of if your code should check every
      >parameter its handed by outside influencers.
      >
      <snip />

      Yep, and the old answer appears still to apply: if you don't know who is
      passing the parameters, check them; otherwise, be reasonable.

      =======================================
      J. B. Rainsberger,
      founder, Diaspar Software Services Inc.
      Extreme Programming for the Java platform
      Let's build software that people understand.
      http://www.diasparsoftware.com/
    Your message has been successfully submitted and would be delivered to recipients shortly.