The Craft of Model-Based Testing
暫譯: 模型驅動測試的技藝

Paul C. Jorgensen

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

在他最新的著作中,作者 Paul C Jorgensen 採取了他精湛的工匠式方法來掌握基於模型的測試(Model-Based Testing, MBT)。要成為 MBT 的專家,軟體測試人員必須將其視為一種技藝,而非藝術。這意味著測試人員應該對基礎主題有深入的了解,並在執行建模和測試技術方面有良好的實踐經驗。這需要判斷力,以及對 MBT 工具的理解。

本書的第一部分幫助測試人員培養這種判斷力。它首先概述了 MBT,然後深入探討九種不同的測試模型,每個模型都有一章專門介紹。這些章節通過一對範例相互聯繫:一個簡單的保險費計算和一個描述車庫門控制器的事件驅動系統。本書展示了如何使用更簡單的模型——流程圖、決策表和 UML 活動圖——來表達保險費問題的重要方面。它還展示了如何使用基於轉換的模型——有限狀態機、Petri 網和狀態圖——這些模型對於車庫門控制器是必要的,但對於保險費問題則顯得過於複雜。每一章都描述了模型在支持 MBT 方面的程度。

本書的第二部分使測試人員對 MBT 工具有更深入的理解。它檢視了六種商業 MBT 產品,介紹了每個產品的顯著特徵,並展示了如何在保險費和車庫門控制器問題上使用這些產品。這些章節的結尾都提供了在組織中實施 MBT 的建議。最後一章介紹了六種開源工具,以補充測試人員對 MBT 的知識。此外,本書支持國際軟體測試資格委員會(ISTQB®)的 MBT 課程大綱以供認證使用。