From: jrb3@... Date: 2003-12-12T02:57:43+09:00 Subject: Re: Ideas for replacing $0==__FILE__ > Austin Ziegler wrote: > I like that--in fact, I'd probably use it. What happens if there are > multiple TEST{} blocks (especially in required files)? Do they all get > executed? I would not use TEST{} if required files executed any of their TEST{} blocks under -t: there'd be no way to test just one file. You'd get all your require'd files unit-test invocations mixed in with yours -- lots of effort to separate them out for reporting purposes. To avoid this, you'd have to have *none* of the distribution using TEST{} -- which would defeat one of the main benefits of having TEST{} in the first place, for general use. Joseph Beckenbach lead XP tester, Eidogen Inc.