An Introduction to TTCN-3
暫譯: TTCN-3 入門指南

Colin Willcock, Thomas Deiß, Stephan Tobies, Stefan Keil, Federico Engler, Stephan Schulz

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

相關主題

商品描述

Description:

Looking for a solid introduction to the TTCN-3 language and its use? An Introduction to TTCN-3 is just what you need. All the important concepts and constructs of the language are explained in a tutorial style with the emphasis on extensive examples. Throughout the author also addresses the larger picture of how the testing language is related to the overall test system implementation.

  • A complete tutorial reference on TTCN-3 with real-world examples and expert advice based on author’s practical industrial experience using the standard.
  • Offering a unique insider perspective: Nokia has been instrumental in the development of both the language and tools associated with TTCN-3 and the author is in a unique position to document this experience to help and guide new users.
  • And an associated web site that contains code samples from the book and links to the relevant standards documents.

This book provides the perfect companion to the available TTCN-3 language standards filling the gaps in areas such as style guide, structuring, and pointing out the dangers or pitfalls based on the author’s personal TTCN-3 experience from language standardization, tool implementation and applying TTCN-3 for a number of years in the real world. The style and level of the book make it suitable for both engineers learning and applying the language in the real world and students learning TTCN-3 as part of their studies.

 

Table of Contents:

About the Authors.

Foreword.

Acknowledgements.

List of Figures.

List of Tables.

Abbreviations and Acronyms.

1 Introduction.

1.1 TTCN-3 as a Language.

1.2 The Development of TTCN-3.

1.3 Summary.

2 TTCN-3 by Example.

2.1 TTCN-3 Test Suite.

2.2 TTCN-3 Test Systems.

2.3 Summary.

3 Basic TTCN-3.

3.1 Basic Constructs.

3.2 Basic Statements.

3.3 Summary.

4 Non-concurrent TTCN-3.

4.1 Ports.

4.2 Components.

4.3 Test Cases.

4.4 Templates.

4.5 Message-based Communication.

4.6 Timers.

4.7 Alt Statement.

4.8 Altsteps.

4.9 Default Altsteps.

4.10 Functions.

4.11 Summary.

5 Concurrent TTCN-3.

5.1 Concurrent Test Case Example.

5.2 Test Components.

5.3 Mappings and Connections.

5.4 Miscellaneous Port Operations.

5.5 SUT Addresses.

5.6 Summary.

6 Procedure-based Communication.

6.1 Procedure-Versus Message-based Communication.

6.2 An Example – the Directory Service.

6.3 Procedure-based Communication in TTCN-3.

6.4 Communication Operations.

6.5 Procedure-based Communication on the Client Side.

6.6 Procedure-based Communication on the Server Side.

6.7 Addressing.

6.8 Summary.

7 Modular TTCN-3.

7.1 Modules.

7.2 Group Definitions.

7.3 Importing.

7.4 Module Parameters.

7.5 Attributes.

7.6 Summary.

8 TTCN-3 Data Types.

8.1 The Session Initiation Protocol.

8.2 Subtyping.

8.3 TTCN-3 Built-in Types.

8.4 User-defined Types.

8.5 Summary.

9 Advanced Type Topics.

9.1 Type Compatibility.

9.2 The Anytype Type.

9.3 The Address Type.

9.4 Recursive Type Definitions.

9.5 Foreign Type Systems.

9.6 Summary.

10 Templates.

10.1 A First Look at TTCN-3 Templates.

10.2 The TTCN-3 Match Operation.

10.3 Template Definition for One Specific Value.

10.4 Template Definitions with Matching Expressions.

10.5 Template Definitions for Signatures.

10.6 About Assignment, Access of Templates, and the Valueof Operation.

10.7 Summary.

11 Advanced Templates.

11.1 Template Definitions for Complex Type Structures.

11.2 Template References.

11.3 Template Parameterization.

11.4 Selective Modification of Other Templates.

11.5 Explicit Versus Implicit Template Definitions.

11.6 Structuring of Template Definitions for Complex Types.

11.7 Summary.

12 TTCN-3 Test Systems in Practice.

12.1 The Anatomy of a TTCN-3 Test System.

12.2 Test System Execution of a Simple Test Case.

12.3 More About The SUT Adapter.

12.4 More About The Platform Adapter.

12.5 More About External Codecs.

12.6 Conclusion.

13 Advice and Examples.

13.1 TTCN-3 Style Guide.

13.2 Suggestions for Modularization.

13.3 Template Specification for Complex Message Definitions.

13.4 Useful Behaviour.

13.5 Synchronizing Parallel Test Components.

14 Closing Thoughts and Future Directions.

References.

Index.

商品描述(中文翻譯)

描述:
尋找對 TTCN-3 語言及其使用的全面介紹嗎?《An Introduction to TTCN-3》正是您所需要的。書中以教學風格解釋了語言的所有重要概念和結構,並強調了大量的範例。作者在整本書中也探討了測試語言與整體測試系統實現之間的關係。

- 提供關於 TTCN-3 的完整教學參考,包含真實世界的範例和基於作者實際工業經驗的專家建議。
- 提供獨特的內部觀點:Nokia 在 TTCN-3 語言及其相關工具的開發中發揮了重要作用,作者在這方面的經驗使他能夠幫助和指導新用戶。
- 附有相關網站,包含書中的程式碼範例及相關標準文件的連結。

本書是可用的 TTCN-3 語言標準的完美伴侶,填補了風格指南、結構等方面的空白,並根據作者在語言標準化、工具實現及多年在真實世界中應用 TTCN-3 的個人經驗,指出了潛在的危險或陷阱。本書的風格和水平使其適合工程師在真實世界中學習和應用該語言,以及學生在學習過程中學習 TTCN-3。

目錄:
- 關於作者
- 前言
- 致謝
- 圖表清單
- 表格清單
- 縮寫和首字母縮略詞
- 1 介紹
- 1.1 TTCN-3 作為一種語言
- 1.2 TTCN-3 的發展
- 1.3 總結
- 2 TTCN-3 範例
- 2.1 TTCN-3 測試套件
- 2.2 TTCN-3 測試系統
- 2.3 總結
- 3 基本 TTCN-3
- 3.1 基本結構
- 3.2 基本語句
- 3.3 總結
- 4 非併發 TTCN-3
- 4.1 端口
- 4.2 組件
- 4.3 測試案例
- 4.4 模板
- 4.5 基於消息的通信
- 4.6 計時器
- 4.7 Alt 語句
- 4.8 Altsteps
- 4.9 預設 Altsteps
- 4.10 函數
- 4.11 總結
- 5 併發 TTCN-3
- 5.1 併發測試案例範例
- 5.2 測試組件
- 5.3 映射和連接
- 5.4 雜項端口操作
- 5.5 SUT 地址
- 5.6 總結
- 6 基於程序的通信
- 6.1 程序與基於消息的通信
- 6.2 一個範例 - 目錄服務
- 6.3 TTCN-3 中的基於程序的通信
- 6.4 通信操作
- 6.5 客戶端的基於程序的通信
- 6.6 伺服器端的基於程序的通信
- 6.7 地址
- 6.8 總結
- 7 模組化 TTCN-3
- 7.1 模組
- 7.2 群組定義
- 7.3 匯入
- 7.4 模組參數
- 7.5 屬性
- 7.6 總結
- 8 TTCN-3 數據類型
- 8.1 會話啟動協議
- 8.2 子類型
- 8.3 TTCN-3 內建類型
- 8.4 用戶定義類型
- 8.5 總結
- 9 進階類型主題
- 9.1 類型相容性
- 9.2 Anytype 類型
- 9.3 地址類型
- 9.4 遞歸類型定義
- 9.5 外部類型系統
- 9.6 總結
- 10 模板
- 10.1 TTCN-3 模板初探
- 10.2 TTCN-3 匹配操作
- 10.3 特定值的模板定義
- 10.4 帶有匹配表達式的模板定義
- 10.5 簽名的模板定義
- 10.6 關於賦值、模板的訪問和 Valueof 操作
- 10.7 總結
- 11 進階模板
- 11.1 複雜類型結構的模板定義
- 11.2 模板引用
- 11.3 模板參數化
- 11.4 對其他模板的選擇性修改
- 11.5 明確與隱式模板定義
- 11.6 複雜類型的模板定義結構
- 11.7 總結
- 12 TTCN-3 測試系統實踐
- 12.1 TTCN-3 測試系統的結構
- 12.2 簡單測試案例的測試系統執行
- 12.3 有關 SUT 適配器的更多信息
- 12.4 有關平台適配器的更多信息
- 12.5 有關外部編解碼器的更多信息
- 12.6 結論
- 13 建議和範例
- 13.1 TTCN-3 風格指南
- 13.2 模組化建議
- 13.3 複雜消息定義的模板規範
- 13.4 有用的行為
- 13.5 同步平行測試組件
- 14 結語與未來方向
- 參考文獻
- 索引