
Basics of Software Testing
1.13 MODEL-BASED TESTING AND MODEL CHECKING
Model-based testing refers to the acts of modeling and the generation
of tests from a formal model of application behavior. Model checking
refers to a class of techniques that allow the validation of one or more
properties from a given model of an application.
Figure 1.15 illustrates the process of model-checking. A model, usu-
ally finite-state, is extracted from some source. The source could be the
requirements, and in some cases, the application code itself. Each state of
the finite-state model is prefixed with one or more properties that must
hold when the application is in that sta ...