The rapid proliferation of Augmented Reality (AR) applications in gaming, education, and healthcare underscores the urgent need for effective testing methodologies. As AR applications become more complex and widely used, ensuring their robustness and reliability is increasingly challenging. Traditional methods, like Junit and Unity tests, often fall short due to AR’s inherent complexities, including 3D interactions and immersive environments. Our research addresses these challenges by integrating Metamorphic Testing (MT) to enhance AR application testing processes. MT overcomes traditional testing limitations by focusing on Metamorphic Relations (MRs) - expected relationships between inputs and outputs without a reliable test oracle. We define specific MRs tailored for mobile AR to facilitate fault identification and rectification. Our study presents a comprehensive framework for applying MT in mobile AR, detailing the MR identification and implementation process. We identified a set of MRs for mobile AR. These MRs, including Object Scaling with Distance, Raycast within Boundary, Visibility and Occlusion, Overlapping with Game Objects, and Orientation Consistency Relative to Gravity, address crucial aspects of AR functionality. They ensure realistic object scaling, consistent placement, correct occlusion handling, prevention of object overlap, and maintained orientation consistency. Adopting Metamorphic Testing significantly advances AR application testing. We are developing a tool to automatically incorporate these MRs into mobile AR applications, streamlining testing processes and enhancing system reliability. Future work will refine these relations and expand their scope to cover a broader range of AR functionalities.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Optimizing AR Application Testing: Integrating Metamorphic Testing to Address Developer and End-User Challenges

  • Dibyendu Brinto Bose,
  • Brendan David-John,
  • Chris Brown

摘要

The rapid proliferation of Augmented Reality (AR) applications in gaming, education, and healthcare underscores the urgent need for effective testing methodologies. As AR applications become more complex and widely used, ensuring their robustness and reliability is increasingly challenging. Traditional methods, like Junit and Unity tests, often fall short due to AR’s inherent complexities, including 3D interactions and immersive environments. Our research addresses these challenges by integrating Metamorphic Testing (MT) to enhance AR application testing processes. MT overcomes traditional testing limitations by focusing on Metamorphic Relations (MRs) - expected relationships between inputs and outputs without a reliable test oracle. We define specific MRs tailored for mobile AR to facilitate fault identification and rectification. Our study presents a comprehensive framework for applying MT in mobile AR, detailing the MR identification and implementation process. We identified a set of MRs for mobile AR. These MRs, including Object Scaling with Distance, Raycast within Boundary, Visibility and Occlusion, Overlapping with Game Objects, and Orientation Consistency Relative to Gravity, address crucial aspects of AR functionality. They ensure realistic object scaling, consistent placement, correct occlusion handling, prevention of object overlap, and maintained orientation consistency. Adopting Metamorphic Testing significantly advances AR application testing. We are developing a tool to automatically incorporate these MRs into mobile AR applications, streamlining testing processes and enhancing system reliability. Future work will refine these relations and expand their scope to cover a broader range of AR functionalities.