27.07.2013 Views

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

2 Why We Need Model-Based Testing

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12 Describe, Analyze, Test<br />

testing on interesting scenarios, and to express temporal properties to check during<br />

analysis.<br />

Chapter 8 introduces model-based testing for closed systems (fully controllable<br />

systems with no nondeterminism). <strong>We</strong> show how to generate test suites using the<br />

tool otg (Offline Test Generator). <strong>We</strong> show how to write a test harness for the<br />

implementation, and how to execute the generated test suites using our test runner<br />

tool ct (Conformance Tester). <strong>We</strong> discuss test coverage.<br />

Part III extends our methods to “infinite” models that cannot be analyzed exhaustively.<br />

Chapter 10 describes modeling with data types that have “infinite” domains, such<br />

as numbers and strings, and collection types, such as sets, bags, sequences, and<br />

maps, which provide rich data structures.<br />

Chapter 11 is about analyzing systems with complex state. It discusses pruning<br />

techiques for sampling or finitizing “infinite” state spaces.<br />

Chapter 12 introduces on-the-fly testing, where the test scenarios are created as<br />

the test executes, as a strategy for testing systems with “infinite” state space.<br />

Part IV discusses several advanced topics. In contrast with previous parts, the<br />

presentation here is not sequential so you may read these chapters in any order.<br />

Chapter 14 discusses composition as a technique for building up complex models<br />

from simple ones.<br />

Chapter 15 discusses modeling with objects. <strong>We</strong> explain the complications that<br />

are introduced by objects and describe the solutions provided by the library and<br />

tools.<br />

Chapter 16 discusses reactive systems that include observable actions that cannot<br />

be controlled by the tester. <strong>We</strong> discuss on-the-fly testing as a strategy for dealing<br />

with nondeterminism.<br />

There are several appendices.<br />

Appendix A describes the attributes and classes provided by the modeling library,<br />

which are used for writing model programs.<br />

Appendix B describes the command-line options for mpv (<strong>Model</strong> Program Viewer),<br />

otg (Offline Test Generator), and ct (Conformance Tester).<br />

Appendix C is a glossary that provides definitions for all of the terms that are<br />

printed in italics where they first appear.<br />

This book also provides a bibliography and an index.<br />

more free ebooks download links at:<br />

http://www.ebook-x.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!