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

VS: [XP] Testing Leftover

Expand Messages
  • lasse.koskela@accenture.com
    ... What s wrong with assuming other methods work properly? Most literature that say anything about your unit tests relying on other methods within the class
    Message 1 of 3 , May 31, 2004
    • 0 Attachment
      Lior Fridman:
      > I still think it's the only sure way to check that a method
      > performed its operation in the right way without depending on other
      > methods from the class to work properly

      What's wrong with assuming other methods work properly?
      Most literature that say anything about your unit tests relying on other methods within the class under test are, in my experience, waving the green flag for doing so. You have to trust /something/ since you can't test /everything/.

      - Lasse -



      This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


      [Non-text portions of this message have been removed]
    Your message has been successfully submitted and would be delivered to recipients shortly.