Test Adequacy Assessment
6.1 TEST ADEQUACY: BASICS
6.1.1 WHAT IS TEST ADEQUACY?
Consider a program P written to meet a set R of functional require-
ments. We notate such a P and R as (P, R). Let R contain n require-
ments labeled R
1
, R
2
, ..., R
n
. Suppose now that a set T containing k
tests has been constructed to test P to determine whether it meets all
the requirements in R. Also, P has been executed against each test in T
and has produced correct behavior. We now ask: Is T good enough? This
question can be stated differently as: Has P been tested thoroughly? or as:
Is T adequate? Regardless of how the question is stated, it assumes im-
portance when one wants to test P thoroughly in the hope that all errors
have been discovered and removed when testing ...