博碩士論文 100522051 詳細資訊




以作者查詢圖書館館藏 以作者查詢臺灣博碩士 以作者查詢全國書目 勘誤回報 、線上人數:4 、訪客IP:3.80.160.29
姓名 朱怡嘉(Yi-Jia Chu)  查詢紙本館藏   畢業系所 資訊工程學系
論文名稱
(The Analysis of Capturing System Test Cases into Unit Test Cases)
相關論文
★ 使用PolyTraceAid進行程式文件覆蓋率計算與分群★ Support Visual Debugging in Electronic Design Automation Software by xDIVA
★ 設計與實作視覺化追蹤點以支援xDIVA進行程式動畫★ Combine Internal Test Oracles and Capture/Replay GUI Testing for Precise Replay and Higher Validation Power
★ Dissimilarity of Polymorphic Execution Sequences★ 動態延遲載入的測試覆蓋率
★ 建構於JMeter之自動化分散式壓力測試架構★ 模組化因修改具耦合的程式碼所伴隨的成本漣漪
★ Design a Pluggable Architecture for Layout Algorithms in xDIVA★ 重複性程式碼檢測之外掛模組設計
★ Visual Perception of Realistic Rendering in xDiva 3D Environment★ Why and When GUI Test Automation Fails in Practice and Our Solutions to The Problem
★ Why and When GUI Test Automation Fails in Practice and Our Solutions to The Problem★ Very High Precision Optical Character Recognition For Clean-Fixed-Sized True Type Characters
★ Enhance Korat by Branch Capability in Capture/Replay User Scenario to Industrial Test Case Automation★ implement race detection functionality inXThreadDebugger base on pluggable modulesystem
檔案 [Endnote RIS 格式]    [Bibtex 格式]    [相關文章]   [文章引用]   [完整記錄]   [館藏目錄]   [檢視]  [下載]
  1. 本電子論文使用權限為同意立即開放。
  2. 已達開放權限電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。
  3. 請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。

摘要(中) 當程式開發人員修改部分程式碼,可能必須重新執行舊有的系統測試案例(system test cases),但測試案例的數量往往隨著系統的發展而攀升,程式開發人員必須耗費時間執行大量系統測試案例。系統測試案例執行的代價通常很高,但是要降低這些代價而採用測試自動化往往必須先付出一筆昂貴的代價。
因為單元測試案例(unit test cases)的執行代價相較於系統測試案例自動化低,且較容易進行自動化,所以近年來有一些研究,致力於在系統的執行過程中自動將系統測試案例切割並產生單元測試案例的轉換技術─錄製系統測試案例並重播單元測試案例(capture system test cases and replay unit test cases)。
建構這樣完全自動化的轉換系統其實有一定的困難度。本篇論文將此技術實際應用,探討將此技術實際完全自動化會遇到哪些問題,再逐項分析進行自動化的困難以及可能性。
摘要(英) When the code of system under test is modified, system test cases must be rerun for regression. However, the number of system test cases increases as the system grow. Developers typically run the new version of program against all system test cases to validate that the changes made on the program do not break the system. It can take a lot of time and efforts to rerun all system test cases manually. Test automation in principle can alleviate the problem. However, system-level test automation may require a one-time investment first, which can be costly depending on the types of applications.
Contrast to system test cases, unit test cases could be executed more efficiently. Recent researches have begun to study a transformation technique which captures system test cases and replays them as unit test cases. However, building such a transformation system might not be as easy as it may seem. In this thesis, we manually simulate the transformation technique to generate unit test cases and then analyzes cost of this approach and the problems that could be raised in this study.
關鍵字(中) ★ 單元測試 關鍵字(英)
論文目次 摘要...i
Abstract...ii
目錄...iii
圖目錄...1
第一章、緒論...1
第二章、背景及相關研究...4
2-1 單元測試案例與系統測試案例...4
2-2 單元測試(unit testing)簡介...4
2-3 Boost C++ Libraries單元框架介紹...5
2-3系統測試(system testing)簡介...7
2-4 xDIVA簡介及過去開發經驗...8
2-5 錄製-播放技術簡介...10
2-6 相關研究...10
第三章、手動錄製系統測試案例及重播單元測試案例...15
3-1 錄製階段...15
3-1-1 將物件序列化儲存至檔案 ...16
3-1-2 錄製系統測試案例...17
3-2 播放階段...18
3-2-1 test stub...18
3-2-2 從檔案還原物件資訊...20
3-2-3 執行播放階段...21
第四章、研究結果與討論...23
4-1 產生test stub相關問題...23
4-2 物件序列化相關問題...23
4-2-1 具有繼承架構物件...23
4-2-2 指標...26
4-2-3 程式庫類別...27
4-3 程式碼的可讀性低落問題...28
4-4 單元測試的驗證...29
4-5 編譯與連結問題...30
4-6 討論...30
第五章、結論...32
參考文獻...33
參考文獻 [1] K. Beck, Test driven development: By example: Addison-Wesley Professional, 2003.
[2] S. Elbaum, C. Hui Nee, M. B. Dwyer, and M. Jorde, “Carving and Replaying Differential Unit Test Cases from System Test Cases,” Software Engineering, IEEE Transactions on, vol. 35, no. 1, pp. 29-45, 2009.
[3] S. Joshi, and A. Orso, "SCARPE: A Technique and Tool for Selective Capture and Replay of Program Executions." pp. 234-243.
[4] A. Orso, and B. Kennedy, “Selective capture and replay of program executions,” in Proceedings of the third international workshop on Dynamic analysis, St. Louis, Missouri, 2005, pp. 1-7.
[5] D. Saff, S. Artzi, J. H. Perkins, and M. D. Ernst, “Automatic test factoring for java,” in Proceedings of the 20th IEEE/ACM international Conference on Automated software engineering, Long Beach, CA, USA, 2005, pp. 114-123.
[6] C. Yao, C. Wei-Zheng, and Z. Yu, "The research and implementation of automatic unit test recording framework." pp. V2-395-V2-399.
[7] R. Osherove, The Art of Unit Testing: With Examples in .Net: Manning Publications Co., 2009.
[8] "Boost Test," Mar., 2013; www.boost.org/doc/libs/release/libs/test/.
[9] J. Hartmann, C. Imoberdorf, and M. Meisinger, “UML-Based integration testing,” in Proceedings of the 2000 ACM SIGSOFT international symposium on Software testing and analysis, Portland, Oregon, USA, 2000, pp. 60-70.
[10] "xDIVA web pages," Mar., 2013; http://oolab.csie.ncu.edu.tw/xDIVA/.
[11] Y.-P. Cheng, J.-F. Chen, M.-C. Chiu, N.-W. Lai, and C.-C. Tseng, “xDIVA: a debugging visualization system with composable visualization metaphors,” in Companion to the 23rd ACM SIGPLAN conference on Object-oriented programming systems languages and applications, Nashville, TN, USA, 2008, pp. 807-810.
[12] "XStream," Mar., 2013; http://xstream.codehaus.org/.
[13] "Boost.Serialization," Mar., 2013; http://www.boost.org/libs/serialization.
[14] "Qt Project," May., 2013; http://qt-project.org/.
[15] D. Xu, “A tool for automated test code generation from high-level petri nets,” in Proceedings of the 32nd international conference on Applications and theory of Petri Nets, Newcastle, UK, 2011, pp. 308-317.
[16] K. Beck, JUnit pocket guide: O’Reilly Media, 2009.
指導教授 鄭永斌 審核日期 2013-7-23
推文 facebook   plurk   twitter   funp   google   live   udn   HD   myshare   reddit   netvibes   friend   youpush   delicious   baidu   
網路書籤 Google bookmarks   del.icio.us   hemidemi   myshare   

若有論文相關問題,請聯絡國立中央大學圖書館推廣服務組 TEL:(03)422-7151轉57407,或E-mail聯絡  - 隱私權政策聲明