透過您的圖書館登入
IP:13.58.184.30
  • 學位論文

基於Robot Framework的平行處理測試函式庫:以手機測試為例

A Parallel Processing Test Library Based on Robot Framework: A Case Study in Mobile Devices Testing

指導教授 : 謝金雲 鄭有進

摘要


近年來3C裝置推陳出新,若期望能在有限時間的開發週期產出穩定且品質優良的軟體,自動化測試已經是必然方式。由於測試團隊普遍不具有程式設計能力,也沒有能力開發和維護自動化測試腳本,因此我們使用Robot Framework將測試動作包裝為keyword,搭配表格化的撰寫方式讓測試團隊有能力開發測試案例並加以維護。但Robot Framework只能以循序的方式執行keyword,造成測試案例十分冗長,甚至使需要多個程式互動的測試案例無法實作。本論文提出一個基於Robot Framework擴充功能而寫的平行處理函式庫,使得測試人員能夠使用函式庫撰寫多元的測試案例,且讓測試執行更有效率。我們將以手機測試為例,說明函式庫的使用方式,並探討平行處理的測試案例的特性。

並列摘要


The keyword-driven testing framework Robot Framework is extremely helpful to testers without programming capability in developing automated accepted tests. By packing test actions as keywords, it enables testers to develop and maintain a test case without writing programs. However, currently Robot Framework only allows sequential execution of keywords, which can lead to unnecessary lengthy execution of test cases. Furthermore, some test cases involving interactions with multiple programs cannot be implemented sequentially. This thesis proposes a parallel processing test library based on Robot Framework so that testers can use the library to write test cases with keywords that are executed in parallel. We will use a number of examples in smart phone testing to introduce the usage of the library and to explore the characteristics of the test cases.

參考文獻


[1] Janzen, D.S., Saiedian, H., “Does Test-Driven Development Really Improve Software Design Quality?” Software, IEEE, vol. 25, March-April 2008
[3] Keyword-driven-testing. Available:
[8] Lamport, L., “How to Make a Multiprocessor Computer That Correctly Executes Multiprocess Programs,” Computers, IEEE Transactions on, vol. C-28, Sept. 1979
[9] 林佑明,一個在Android裝置上進行整合測試的Robot Framework uiautomator測試函式庫,碩士論文,國立臺北科技大學資訊工程系碩士班,台北市,2014
[10] 張學斌,一個改善Android行動裝置GUI自動化測試效率與穩定性的輔助工具,碩士論文,國立臺北科技大學資訊工程系碩士班,台北市,2014

延伸閱讀