POV-Ray : Newsgroups : povray.off-topic : Q about Unit Tests : Re: Q about Unit Tests Server Time
4 Sep 2024 17:19:17 EDT (-0400)
  Re: Q about Unit Tests  
From: Darren New
Date: 4 Dec 2009 22:30:12
Message: <4b19d3c4@news.povray.org>
Stephen wrote:
> The answer is no, you don’t need to retest previously passed te
sts, that 
> is the whole idea of *unit* tests.

OK, then unit tests aren't "independent" in that sense. I guess the advic
e 
is to prevent a unit test from relying on stuff left over from a previous
 
unit test, so you could in theory run them in any order *if* they all pas
s.

-- 
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.