--Apple-Mail-8--550201421
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

On 17 Feb 2005, at 17:15, Nathaniel Talbott wrote:

> On Feb 17, 2005, at 17:27, Belorion wrote:
>
>> I could have written out 10 different smaller tests ... but to me
>> that seems to break the logic of wanting to run like assertions
>> together in the same test ... after all, they were all on the same
>> method and testing the same logic.  If, later down the line I want to
>> run these tests again, but not *all* of the tests in my suite, I would
>> have to pass each test_name at the command line.  This seems to make
>> unit testing more complicated than it should be (which I admit is
>> still nicer than unit testing in any other language I've used).
>
> Note that if you gave these related tests a similar name, you could 
> run them all in one fell swoop from the command line using a regex. 
> Also, if they're sufficiently similar, you could even generate the 
> test methods at runtime, which might reduce any redundancy between 
> them.

ZenTest can generate test stubs for you, or generate method stubs for 
your tests.

http://www.zenspider.com/ZSS/Products/ZenTest/

-- 
Eric Hodel - drbrain / segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

--Apple-Mail-8--550201421
content-type: application/pgp-signature; x-mac-type=70674453;
	nameP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCFjxhMypVHHlsnwQRApxLAJ9a02WIJ5bXesFlbNiSfLUlHCGrbgCfX1BZ
cEUyWEVohSUWmAZhPxpWk04
OG -----END PGP SIGNATURE----- --Apple-Mail-8--550201421--