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

Android應用程式自動化測試研究

Study of Android’s Application Automated Testing

指導教授 : 陳文進

摘要


智慧型手機的應用程式需求不斷,也越來越多開發者注入心血在其中。當開發者在撰寫智慧型手機應用程式的過程中,「測試」是很重要且花費時間的一環,因此針對Android平台,如何方便且有效的自動化測試是本篇論文所要研究的目標。目前的測試工具雖然很多但各有優缺,例如使用Android Testing API可以撰寫程式內部的function test,但是卻無法測試目前的畫面是否出現了某張圖;使用Sikuli可以很方便的測試圖形化介面,但是卻無法測試程式內部。為了能夠整合function test與圖形化介面測試,使測試行為增加,也讓測試管理更方便,本論文將實作圖形化介面的測試方法到開放原始碼的 Robotium 測試工具中。

關鍵字

測試 單元測試 連續集成

並列摘要


As the mobile phones grow more and more popular, the software developers take great efforts to develop a tremendous number of mobile phones' applications recently. Software testing, namely, "testing whether the software is accurate or complies to the original specifications," is very important during the software development process. It however consumes too much time and thus drags the whole developing schedule usually. Since Android is one of the most important platforms for mobile devices, how to test automatically the software in a convenient and effective way is very crucial in the Android development and is the main goal of this study. Although there are already many testing tools but each of them has advantages and disadvantages. Most of the existing testing tools, such as Android SDK Testing API, Robotium, and Sikuli, can only carry out either the "Function Test" or "GUI (Graphics User Interface) Test," but not both. This causes inconvenience to the Android software developers during the development. In this thesis, we extend the functions of Robotium so that it can do both the “Function Test” and “GUI Test” in a convenient and compatible way. These extensions will help the Android developers to develop Android software more rapidly.

並列關鍵字

Android Testing Unit Test JUnit Robotium Sikuli Continuous Integration

參考文獻


[8] Wiki: Template matching. http://en.wikipedia.org/wiki/Template_matching
[10] Jenkins. http://jenkins-ci.org/
[1] Android Developers. http://developer.android.com/index.html
[2] Wiki: Android. http://zh.wikipedia.org/wiki/Android
[3] JUnit. http://www.junit.org/

延伸閱讀