Diego Rodrigues de Almeida, Patricia D. L. Machado, W. L. Andrade
{"title":"ENVIAR","authors":"Diego Rodrigues de Almeida, Patricia D. L. Machado, W. L. Andrade","doi":"10.1145/3422392.3422511","DOIUrl":null,"url":null,"abstract":"Context-aware applications (CAAs) sense and react to changes from the environment when performing their tasks. Testing such applications is challenging. Firstly, due to the number of combinations of possible events and values they can handle. Secondly, due to the different execution scenarios that may be hard to reproduce manually. We present the ENVIAR tool whose objective is to support test case generation and execution of Android CAAs. Generation combines a set of events that may trigger failure in such applications filtered by pairwise testing. Execution simulates the environment in which the CAA runs by sending mock data. Current version focus on Android events, GPS, and Internet sensor events and values. Empirical results have shown that the tool can generate test cases that detect context defects in real Android applications, particularly covering scenarios that would be tricky to run in a real environment.","PeriodicalId":319144,"journal":{"name":"Proceedings of the 34th Brazilian Symposium on Software Engineering","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-10-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 34th Brazilian Symposium on Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3422392.3422511","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Context-aware applications (CAAs) sense and react to changes from the environment when performing their tasks. Testing such applications is challenging. Firstly, due to the number of combinations of possible events and values they can handle. Secondly, due to the different execution scenarios that may be hard to reproduce manually. We present the ENVIAR tool whose objective is to support test case generation and execution of Android CAAs. Generation combines a set of events that may trigger failure in such applications filtered by pairwise testing. Execution simulates the environment in which the CAA runs by sending mock data. Current version focus on Android events, GPS, and Internet sensor events and values. Empirical results have shown that the tool can generate test cases that detect context defects in real Android applications, particularly covering scenarios that would be tricky to run in a real environment.