From: Austin Ziegler Date: 2003-05-17T03:46:46+09:00 Subject: Re: Test::Unit sequencing On Sat, 17 May 2003 03:29:56 +0900, Anders Bengtsson wrote: > Austin Ziegler wrote: >> There are bits that can be tested unit-wise, but they're smaller >> than you might imagine. Neither of these things can be cleanly >> unit tested. > Yes they can, it's just that no-one has found out how yet. ;-) > > I've repeatedly been surprised when people have invented ways of > unit testing things that seemed hard or impossible to test. Hmmm ... GUIs cannot be unit tested. Testing can be automated, yes, but they can't be unit tested. One of the projects is an RSS library; the components can't really be unit tested, but the results can be tested and verified against a large body of work. The other project is a PDF library (analagous to a GUI), where the only valid *test* is the whole result. Yes, some of the basic components can be tested (and I'm doing so with the primitives), but especially with the PDF library, the only useful test is to open the result in a PDF reader. -austin -- Austin Ziegler, austin@halostatue.ca on 2003.05.16 at 14:39:19