Test Adequacy Assessment
The following test is adequate with respect to the c-use criterion but not
with respect to the p-use criterion:
T ={t :< Y = 5, Z =−2 >}
6.7 STRUCTURAL AND FUNCTIONAL TESTING
It is commonly believed that when testers measure code coverage, they
perform structural testing also known as white-box or glass-box testing.
In addition, it is also said that while structural testing compares test pro-
gram behavior against the apparent intention of the programmer as ex-
pressed in the source code, functional testing compares test program be-
havior against a requirement specification. The difference between struc-
tural and functional testing is presented below in a different light.
As explained in Sections 6.1.2 and 6.1.3, measurement ...