[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: fs-test.c OH My

From: Sam Couter <sam_at_couter.dropbear.id.au>
Date: 2002-10-29 02:52:27 CET

Karl Fogel <kfogel@newton.ch.collab.net> wrote:
> Ah, understood. But imho, any function is eligible to be tested;
> there's no reason for the fs api to treat testing callers differently
> from other callers. There isn't any such thing as "test aware". If
> it's there, it can be tested :-).

Black-box testing requires no knowledge of, or access to, the internals
of an implementation.

But what about white-box testing? It's sometimes easier and more
effective for the test to know something of the internals of an
implementation, and to sanity check those internals during testing.

It's not unusual for a library or module to expose certain internals in
order for them to be tested.

-- 
Sam "Eddie" Couter  |  mailto:sam@couter.dropbear.id.au
Debian Developer    |  mailto:eddie@debian.org
                    |  jabber:sam@jabber.topic.com.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C

  • application/pgp-signature attachment: stored
Received on Tue Oct 29 02:53:29 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.