Lune

ISSTA2023Top-tier venue

Virtual Reality (VR) Automated Testing in the Wild: A Case Study on Unity-Based VR Applications

Dhia Elhaq Rzig, Nafees Iqbal, Isabella Attisano, Xue Qin, Foyzul Hassan

Abstract

Virtual Reality (VR) is an emerging technique that provides a unique real-time experience for users. VR technologies have provided revolutionary user experiences in various scenarios (e.g., training, education, gaming, etc.). However, testing VR applications is challenging due to their nature which necessitates physical interactivity, and their reliance on specific hardware systems. Despite the recent advancements in VR technology and its usage scenarios, we still know little about VR application testing. To fill up this knowledge gap, we performed an empirical study on 314 open-source VR applications. Our analysis identified that 79% of the VR projects evaluated did not have any automatic tests, and for the VR projects that did, the median functional-method to test-method ratios were lower than those of other project types. Moreover, we uncovered tool support issues concerning the measurement of VR code coverage, and the assertion density results we were able to generate were relatively low, with an average of 17.63%. Finally, through a manual analysis of 370 test cases, we identified the different categories of test cases being used to validate VR application quality attributes. Furthermore, we extracted which of these categories are VR-attention, meaning that test writers need to pay special attention to VR characteristics when writing tests of these categories. We believe that our findings constitute a call to action for the VR development community to improve their automatic testing practices and provide directions for software engineering researchers to develop advanced techniques for automatic test case generation and test quality analysis for VR applications. Our replication package containing the dataset we used, software tools we developed, and the results we found, is accessible at https://doi.org/10.6084/m9.figshare.19678938 .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • VRGuide: Efficient Testing of Virtual Reality Scenes via Dynamic Cut Coverage cites How Developers Optimize Virtual Reality Applications: A Study of Optimization Commits in Open Source Unity Projects
  • Less Cybersickness, Please: Demystifying and Detecting Stereoscopic Visual Inconsistencies in Virtual Reality Apps cites VRGuide: Efficient Testing of Virtual Reality Scenes via Dynamic Cut Coverage
  • Less Cybersickness, Please: Demystifying and Detecting Stereoscopic Visual Inconsistencies in Virtual Reality Apps cites How Developers Optimize Virtual Reality Applications: A Study of Optimization Commits in Open Source Unity Projects
  • When Shared Worlds Break: Demystifying Defects in Multi-user Extended Reality Software Systems cites Less Cybersickness, Please: Demystifying and Detecting Stereoscopic Visual Inconsistencies in Virtual Reality Apps
  • When Shared Worlds Break: Demystifying Defects in Multi-user Extended Reality Software Systems cites How Developers Optimize Virtual Reality Applications: A Study of Optimization Commits in Open Source Unity Projects
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. Understanding VR Accessibility Practices of VR ProfessionalsYi Wang, Xiao Liu, Chetan Arora, John Grundy et al.CHI 2025 · 13 citations
  2. Less Cybersickness, Please: Demystifying and Detecting Stereoscopic Visual Inconsistencies in Virtual Reality AppsShuqing Li, Cuiyun Gao, Jianping Zhang, Yujia Zhang et al.FSE 2024 · 10 citations
  3. SIM2VR: Towards Automated Biomechanical Testing in VRFlorian Fischer, Aleksi Ikkala, Markus Klar, Arthur Fleig et al.UIST 2024 · 10 citations
  4. VRGuide: Efficient Testing of Virtual Reality Scenes via Dynamic Cut CoverageXiaoyin Wang, Tahmid Rafi, Na MengASE 2023 · 9 citations
  5. When Shared Worlds Break: Demystifying Defects in Multi-user Extended Reality Software SystemsShuqing Li, Chenran Zhang, Binchang Li, Cuiyun Gao et al.FSE 2026 · 1 citation

Builds on4

  1. Creating Augmented and Virtual Reality Applications: Current Practices, Challenges, and OpportunitiesNarges Ashtari, Andrea Bunt, Joanna McGrenere, Michael Nebeling et al.CHI 2020 · 274 citations
  2. Automatic Unit Test Generation for Machine Learning Libraries: How Far Are We?Song Wang, Nishtha Shrestha, Abarna Kucheri Subburaman, Junjie Wang et al.ICSE 2021 · 36 citations
  3. How Developers Optimize Virtual Reality Applications: A Study of Optimization Commits in Open Source Unity ProjectsFariha Nusrat, Foyzul Hassan, Hao Zhong, Xiaoyin WangICSE 2021 · 31 citations
  4. We'll Fix It in Post: What Do Bug Fixes in Video Game Update Notes Tell Us?Andrew Truelove, Eduardo Santana de Almeida, Iftekhar AhmedICSE 2021 · 19 citations

Related papers

  1. VRTestSniffer: Test Smell Detector for Virtual Reality (VR) Software ProjectsFaraz Gurramkonda, Avishak Chakroborty, Bruce R. Maxim, Mohamed Wiem Mkaouer et al.ASE 2025
  2. VRExplorer: A Model-based Approach for Semi-Automated Testing of Virtual Reality ScenesZhengyang Zhu, Hong-Ning Dai, Hanyang Guo, Zeqin Liao et al.ASE 2025 · 1 citation
  3. An Empirical Study on Oculus Virtual Reality Applications: Security and Privacy PerspectivesHanyang Guo, Hong-Ning Dai, Xiapu Luo, Zibin Zheng et al.ICSE 2024 · 17 citations
  4. AUTOVR: Automated UI Exploration for Detecting Sensitive Data Flow Exposures in Virtual Reality AppsJohn Y. Kim, Chaoshun Zuo, Yanjie Zhao, Zhiqiang LinUSENIX Security 2025
  5. Measuring and Mitigating Gaps in Structural TestingSoneya Binta Hossain, Matthew B. Dwyer, Sebastian G. Elbaum, Anh Nguyen-TuongICSE 2023 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines