Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
    • 指導教授
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 電機工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/44379
標題: 以定義域分析技術產生模型基礎之測試案例
Model-Based Testcases Generation with Domain Analysis Techniques
作者: Shun-Chun Chang
張舜鈞
指導教授: 王凡
關鍵字: 測試案例,軟體測試,測試自動化,TTCN-3測試語言,
testcase,software testing,test automation,TTCN-3,
出版年 : 2009
學位: 碩士
摘要: 由於人工測試所需成本龐大,自動測試的需求也日益增加。藉由使用由台大電機所自動軟體測試實驗室所開發的軟體測試工作平台(Software Testing Workbench, STW)以及TTCN-3測試語言(Testing and Test Control Notation Version 3)可以建構自動化的測試環境,因為STW可以將TTCN-3格式的測試案例轉換成可執行的C/C++程式。但如何挑選適合的測試資料,便是一個需要解決的問題。
  本研究以計算資料變異為基礎,發展出一套演算法解決此問題。我們針對在自動化的測試環境,使用待測物(System under Test, SUT)的規格來產生要被測試的資料。我們定義了如何計算資料變異的方法,再藉由演算法計算出應該優先測試的測試資料,再產生對應的TTCN-3格式的測試檔案,最後藉由STW完成測試。經由此演算法,可以完成測試資料的挑選,並達到好的資料覆蓋範圍。
Due to the huge costs of manual testing, automated testing is increasing demand. By using Software Testing Workbench(STW), developed by National Taiwan University Electrical Verification Automation Laboratory, and Test language Testing and Test Control Notation Version 3 (TTCN-3) , the automatic testing environment can be constructed because that STW can translate TTCN-3 testcases into executable C/C++ program. But how to select suitable test data is a need to be solved problem.
We develop a new algorithm to solve this problem based on calculating data variance. In automatic test data generating environment, we use the specifications of System under Test (SUT) to generate test data. First of all, we define how to calculate the data variance, and then using algorithms to calculate the test data should be priority tested, and then generate a corresponding TTCN-3 test files, the final complete the test by STW. Through this algorithm, you can select test data to achieve good data coverage.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/44379
全文授權: 有償授權
顯示於系所單位:電機工程學系

文件中的檔案:
檔案 大小格式 
ntu-98-1.pdf
  未授權公開取用
775.3 kBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved