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.

vi Contents<br />

2.7 Some simple scenarios 25<br />

2.8 A more complex scenario 27<br />

2.9 Failures in the field 28<br />

2.10 Failures explained 29<br />

2.11 Lessons learned 29<br />

2.12 <strong>Model</strong>-based testing reveals the defect 30<br />

2.13 Exercises 31<br />

3 <strong>Why</strong> <strong>We</strong> <strong>Need</strong> <strong>Model</strong>-<strong>Based</strong> Analysis 32<br />

3.1 Reactive system 32<br />

3.2 Implementation 34<br />

3.3 Unit testing 41<br />

3.4 Failures in simulation 44<br />

3.5 Design defects 46<br />

3.6 Reviews and inspections, static analysis 47<br />

3.7 <strong>Model</strong>-based analysis reveals the design errors 47<br />

3.8 Exercises 52<br />

4 Further Reading 53<br />

II Systems with Finite <strong>Model</strong>s<br />

5 <strong>Model</strong> Programs 57<br />

5.1 States, actions, and behavior 57<br />

5.2 Case study: user interface 59<br />

5.3 Preliminary analysis 61<br />

5.4 Coding the model program 64<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!