Test Generation
S
could also be different from S in that S
contains all features in S and
a few more, or that one of the features in S has been redefined in S
.
The regression-testing problem is to find a test set T
r
on which P
is to
be tested to ensure that code that implements functionality carried over
from P works correctly. As shown in Figure 5.4, often T
r
is a subset of T
used for testing P.
In addition to regression testing, P
must also be tested to ensure
that the newly added code behaves correctly. This is done using a newly
developed test set T
d
. Thus, P
is tested against T
= T
r
∪ T
d
, where T
r
is the regression-test suite and T
d
the development test suite intended to
test any new functionality in P
. Note that we have subdivided T into
three categories: ...