POV-Ray : Newsgroups : povray.off-topic : Q about Unit Tests : Re: Q about Unit Tests Server Time
4 Sep 2024 17:19:18 EDT (-0400)
  Re: Q about Unit Tests  
From: Darren New
Date: 4 Dec 2009 12:11:52
Message: <4b1942d8$1@news.povray.org>
Stephen wrote:
> My understanding of unit testing is that they are just used to test one 
> aspect of the software, independently. 

Sure. But if you have one "aspect" that takes a dozen steps to set up, and 
those steps might fail, do you check each of those previous worked (which 
means you're testing a bunch of stuff, possibly obscuring what you really 
want to test), or do you assume they worked because you already tested them 
(making the tests not independent)?

-- 
Darren New, San Diego CA, USA (PST)
   Human nature dictates that toothpaste tubes spend
   much longer being almost empty than almost full.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.