https://scholars.lib.ntu.edu.tw/handle/123456789/175345
標題: | 應用程式記憶體滲漏之自動化黑箱檢測技術 Automated Black-Box Testing for Memory Leakage of Application Programs |
作者: | 張毓庭 Chang, Yu-Ting |
關鍵字: | 軟體測試;應用程式測試;黑箱測試;記憶體滲漏;深度優先搜尋;最小平均權重環;software testing;application testing;black-box testing;memory leakage;minimum mean-weight cycle;depth-first search | 公開日期: | 2015 | 摘要: | 近代,手機的應用程式數量愈來愈多而且開發過程也愈來愈快速。由於對應用程式各種要求以及技術限制,行動運算裝置的軟體開發是一大挑戰。在軟體測試的產業中,工程師們總是要花費大量的時間去產生待測系統的測試資料,現有技術中許多也必須仰賴程式原始碼來產生測試資料,其中,記憶體滲透更是測試中難以被檢測出的項目。為此,我們開發了一個黑箱記憶體滲漏測試自動化來生成測試範例。我們從執行後的運行紀錄建置模型,並且用深度優先及的最小平均權重環的演算法自動產生測試資料。之後在安卓系統的手機上執行這些測試資料查看測試系統是否有記憶體滲漏。最後,將有潛在錯誤的測試資料回報給使用者,並將相關技術製作成工具提供給使用者。 Nowadays, the amount of mobile application increases dramatically and the development process becomes faster and faster. Software development of mobile computing is currently challenging due to the various demands and technical constraints of mobile development. When it comes to software testing in the industry, engineers spend lots of time to produce test cases themselves. Within the testing stage, memory leakage bugs of apps are notorious to detect. Furthermore, we often need to deal with system under test (SUT) without source code. Existing techniques usually rely on the availability of source code and instrumentation techniques to generate test cases. Due to the issues, we have developed a framework to automated black-box testing for memory leakage of application. We build the model from the SUT by the execution traces, and use the concept of depth-first search and Karp’s algorithm to generate test cases. Then, executing the test cases to check the memory leakage of the SUT on android mobile application. Finally, we report the test case of potential error to the user, and using the related techniques to build a software testing tool. |
URI: | http://ntur.lib.ntu.edu.tw//handle/246246/276459 | Rights: | 論文使用權限: 不同意授權 |
顯示於: | 電子工程學研究所 |
在 IR 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。