Finding XR bugs and testing in XR
In the previous two sections, we looked at specific tests in AR and VR. In this section, we will review the more general testing that can be done in XR, although the testing that we cover for VR and AR should also be taken into account for any XR application. Let us perform the exercise of reviewing the test pyramid and mention some particular tests we should perform for XR.
Base layer
As with any other application, the units of code for an XR application should be carefully tested, especially when measuring code coverage and code optimization.
Unit testing in XR should focus on three main aspects of an XR application:
- The code: This is just like any other application.
- The object interaction: This includes collisions, bouncing, removing, creating, or changing objects... Make sure all of these interactions are properly put to the test during unit testing (or, if not possible, later on), whether the objects are interacting with other...