A Method for Testing Web Applications by Using Black-box Tests based on User Screens and Web Interface Test Coverage

사용자 화면 중심의 블랙 박스 테스트와 웹 인터페이스 테스트 커버리지를 통한 웹 어플리케이션 테스트 방법

  • 임정희 (이화여자대학교 컴퓨터공학과) ;
  • 이시현 (이화여자대학교 컴퓨터공학과) ;
  • 장진아 (이화여자대학교 컴퓨터공학과) ;
  • 최병주 (이화여자대학교 컴퓨터정보통신공학과) ;
  • 황상철 (삼성 SDS Engineering Methodology Team)
  • Published : 2009.09.15

Abstract

A web application is implemented by reusing the library provided by framework and has hierarchical architecture. Also, to deal with the user request from a screen, the web application has an execution flow, called 'Business Logic', which starts with a screen, executes its composed component and comes back to the screen via database. To test web application effectively, it should reflect the characteristics of web application. In this paper we propose to test web applications via user screens with the black-box testing approach and verify its source codes with the web interface white-box test coverage that covers all the business logics of the test target and their corresponding interfaces. We analyze the proposing testing method through its tool: Testopiacov.

웹 어플리케이션은 프레임워크가 제공하는 라이브러리를 재사용해서 구현하며, 다계층 아키텍처를 갖는다. 또한 사용자 요청을 처리하기 위해, 화면에서 시작하여 해당 웹 어플리케이션 구성 컴포넌트를 실행하고 데이터베이스를 경유하여 다시 화면으로 돌아오는 실행 흐름, 즉 비즈니스 로직을 갖는다. 웹 어플리케이션을 효과적으로 테스트하기 위해서는 이러한 웹 어플리케이션의 특징을 반영하는 테스트 방안이 필요하다. 본 논문은 웹 어플리케이션 테스트를 위해 사용자 화면으로 테스트를 수행하되, 웹 비즈니스 로직 상의 인터페이스 테스트 커버리지로 검증하는 방법을 제안한다. 이를 자동화한 테스트 도구인 Testopiacov를 통해 웹 어플리케이션을 테스트하고 그 결과를 통하여 제안하는 웹 어플리케이션 테스트 방법을 분석한다.

Keywords

References

  1. Chien-Hung Liu et al., 'Object-Based Data Flow Testing of Web Applications,' Proceedings. First Asia-Pacific Conference on, 1(1), pp.7-16, 2000
  2. Filippo Ricca, Paolo Tonella, 'Testing Processes of Web Applications,' Annals of Software Engineering, 14(1-4), pp.93-114, 2002 https://doi.org/10.1023/A:1020549507418
  3. Forrester Research, 'Forrester Wave$^{TM}$, : Functional Testing Solutions,' Tech Choices The Forrester Wave$^{TM}$: Functional Testing Solutions Q2 2006, 2006
  4. HP, 'QuickTestPro,' http://h10078.www1.hp.com/cda /hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-127-24%5E1352_4000_100_
  5. IBM, 'Robot,' http://www.01.ibm.com/software/awdtools/tester/robot/index.html
  6. Borland, 'SilkTest,' http://www.borland.com
  7. Compuware, 'TestPartner,' http://www.compuware.com
  8. Empirix, 'e-Tester,' http://www.empirix.com
  9. Ahyoung Sung, Byoungju Choi, Seokkoo Shin, 'An Interface Test Model for Hardware-dependent Software and Embedded OS API of the Embedded System,' the Computer Standard & Interface journal, 29(4), pp.430-443, 2007 https://doi.org/10.1016/j.csi.2006.07.002
  10. David Chenho Kung, 'An Object-Oriented Web Test Model for Testing Web Applications,' 24 th International Computer Software and Applications Conference, 1(1), 537-542, 2000
  11. Chien-Hung Liu, 'Structural testing of Web applications,' Proceeding of 11th International Symposium on Software Reliability Engineering, pp.84-96, 2000
  12. Filippo Ricca, Paolo Tonella, 'Analysis and Testing of Web Applications,' Proceedings of the 23rd International Conference on Software Engineering, pp.25-34, 2001
  13. GA Di Lucca, A Fasolino, F Faralli, 'Testing Web Applications,' Proceeding of the International Conference on Software Maintenance, pp.310-319, 2002
  14. Sebastian Elbaum et al, 'Improving web application testing with user session data,' Proceedings of International Conference on Software Engineering, pp.49-59, 2003
  15. Samsung SDS, 'Anyframe JAVA,' http://anyframejava.org, 2008
  16. Ezra Ebner, Weiguang Shao and Wei-Tek Tsai, 'The five-module framework for Internet application development,' ACM Computing Surveys (CSUR), 32(1es), 2000
  17. S.Sampath, S.Sprenkle, E.Gibson, L.Pollock, and A.S.Greenwald, 'Applying Concept Analysis to User Session-based Testing of Web Application,' IEEE Trans. On Software Engineering, vol.33, pp. 643-657, 2007 https://doi.org/10.1109/TSE.2007.70723