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

網頁應用程式之測試案例繁衍

Test Case Multiplication for Web Applications

指導教授 : 王凡

摘要


這份論文展現了新的網頁程式測試案例的再生方法。為了改善測試案例的錯誤偵測能力,這技術提出關於自動繁衍兩種類型的測試案例:輸入值及行為。與以前的方法不同的是,我們是採用黑箱的方式,因此不需要伺服器端的原始碼,也不需要GUI的狀態轉移圖,很容易就可以使用。我們用此方法對四個真實的網頁程式進行實驗,發現二十二個錯誤,而且這些錯誤都是原來的測試案例沒發現的。試驗結果也顯示此方法比起突變更有效率。

並列摘要


This paper presents a novel approach of test case regeneration for web applications. The proposed technique automatically multiplies original test cases with 2 types of multiplication operators: input value and behavior, to improve the fault detection effectiveness of the original test suite. Different from previous works, our approach is black-box and needs neither information of server-side source code nor transition diagrams of the application’s GUI states, and thus easily applicable. We implemented our approach and conducted experiments using 4 real world web applications. 22 faults in 4 applications were detected, and all of the faults were not revealed by the original test suites. Experimental results also show that the proposed technique achieves better effectiveness in terms of mutation score.

參考文獻


[2] Alshahwan, N. and Harman, M. 2012. State Aware Test Case Regeneration for Improving Web Application Test Suite Coverage and Fault Detection. Proceedings of the 2012 International Symposium on Software Testing and Analysis (New York, NY, USA, 2012), 45–55.
[5] Arcuri, A. 2010. Longer is Better: On the Role of Test Sequence Length in Software Testing. Proceedings of the 2010 Third International Conference on Software Testing, Verification and Validation (Washington, DC, USA, 2010), 469–478.
[6] Artzi, S., Kiezun, A., Dolby, J., Tip, F., Dig, D., Paradkar, A. and Ernst, M.D. 2010. Finding Bugs in Web Applications Using Dynamic Test Generation and Explicit-State Model Checking. IEEE Transactions on Software Engineering. 36, 4 (Jul. 2010), 474–494.
[9] DeMillo, R.A., Lipton, R.J. and Sayward, F.G. 1978. Hints on Test Data Selection: Help for the Practicing Programmer. Computer. 11, 4 (1978), 34–41.
[10] Di Lucca, G.A. and Fasolino, A.R. 2006. Testing Web-based applications: The state of the art and future trends. Information and Software Technology. 48, 12 (Dec. 2006), 1172–1186.

延伸閱讀