Android Intent Based Component Interaction Diagram Generation and Test Scenarios Design Techniques
Tae-San Baek, Woojin Lee · KIPS Transactions on Software and Data Engineering · 2016
안드로이드 어플리케이션은 인텐트를 이용하여 다른 어플리케이션의 컴포넌트를 호출하여 실행시킬 수 있다. 하지만 컴포넌트들 사이의 상호작용이 정상적으로 처리되지 않으면 잘못된 컴포넌트가 실행되거나 전화 수신과 같은 시스템 브로드캐스트를 처리하지 못하는 문제점이 발생할 수 있다. 본 논문에서는 이와 같은 상호작용 문제점을 검사하기 위해 서로 연동하여 동작하는 어플리케이션들로부터 컴포넌트 기반의 다이어그램들을 생성하고 이를 하나의 병합된 다이어그램으로 변환하여 테스트 시나리오를 생성하는 방법을 제안한다. 제안된 방식은 기존의 테스팅 기법에서 고려하지 못한 어플리케이션간의 상호작용 검사를 효율적으로 수행할 수 있다. Using the intent of the Android application, an application can execute other application's components. However, if interaction between these components are not processed normally, such problems as incorrect component execution and unhandled system broadcast may be occurred. In this paper, to generate test scenarios for inter application interaction, a testing approach is proposed using a merged intent list and a single merged diagram. The proposed method can effectively be carried out to check the abnormal interaction among the applications which was not considered in existing testing approaches.