ABSTRACT

In his latest work, author Paul C Jorgensen takes his well-honed craftsman’s approach to mastering model-based testing (MBT). To be expert at MBT, a software tester has to understand it as a craft rather than an art. This means a tester should have deep knowledge of the underlying subject and be well practiced in carrying out modeling and testing techniques. Judgment is needed, as well as an understanding of MBT the tools.

The first part of the book helps testers in developing that judgment. It starts with an overview of MBT and follows with an in-depth treatment of nine different testing models with a chapter dedicated to each model. These chapters are tied together by a pair of examples: a simple insurance premium calculation and an event-driven system that describes a garage door controller. The book shows how simpler models—flowcharts, decision tables, and UML Activity charts—express the important aspects of the insurance premium problem. It also shows how transition-based models—finite state machines, Petri nets, and statecharts—are necessary for the garage door controller but are overkill for the insurance premium problem. Each chapter describes the extent to which a model can support MBT.

The second part of the book gives testers a greater understanding of MBT tools. It examines six commercial MBT products, presents the salient features of each product, and demonstrates using the product on the insurance premium and the garage door controller problems. These chapters each conclude with advice on implementing MBT in an organization. The last chapter describes six Open Source tools to round out a tester’s knowledge of MBT. In addition, the book supports the International Software Testing Qualifications Board’s (ISTQB®) MBT syllabus for certification.

part 1|227 pages

Theory of Models for Model-Based Testing

chapter 1|12 pages

Overview of Model-Based Testing

chapter 2|19 pages

Flowcharts

chapter 3|20 pages

Decision Tables

chapter 4|25 pages

Finite State Machines

chapter 5|34 pages

Petri Nets

chapter 6|31 pages

Event-Driven Petri Nets

chapter 7|20 pages

Statecharts

chapter 8|24 pages

Swim Lane Event-Driven Petri Nets

chapter 9|30 pages

Object-Oriented Models

chapter 10|7 pages

Business Process Modeling and Notation

part 2|194 pages

The Practice of Model-Based Testing

chapter 12|10 pages

Implementing MBT in an Organization

chapter 14|19 pages

Smartesting Yest and CertifyIt

chapter 15|11 pages

TestOptimal

chapter 16|38 pages

Conformiq, Inc.

chapter 17|12 pages

Elvior

chapter 18|23 pages

sepp.med GmbH

chapter 19|22 pages

Verified Systems International GmbH

chapter 20|26 pages

Open-Source Model-Based Testing Tools