“By my faith! For more than forty years I have been speaking prose without knowing anything about it.…”
Monsieur Jourdain in Le Bourgeois Gentilhomme
I share the sentiment of Moliere’s Monsieur Jourdain; since the first edition, this book has advocated what we now call Model-Based Testing (MBT). In this chapter, we describe the basic mechanism, discuss how to choose appropriate models, consider the pros and cons of MBT, and provide a short discussion of available tools. Actual examples of MBT are (and have been in the earlier editions) scattered throughout this book.
The main advantage of modeling system behavior is that the process of creating a model usually results in deeper insights ...