XRAutomatedTests is where you can find functional, graphics, performance, and other types of automated tests for your XR Unity development.
Перейти к файлу
ryanhy 12979b34f9 Force projects to use asset db v2. If this isn't done a dialog box asking to do so blocks automation. 2019-11-01 15:48:02 -07:00
FunctionalTests Force projects to use asset db v2. If this isn't done a dialog box asking to do so blocks automation. 2019-11-01 15:48:02 -07:00
GraphicsTests Force projects to use asset db v2. If this isn't done a dialog box asking to do so blocks automation. 2019-11-01 15:48:02 -07:00
PerformanceTests Force projects to use asset db v2. If this isn't done a dialog box asking to do so blocks automation. 2019-11-01 15:48:02 -07:00
com.unity.configmanager rearrange setup scripts to prevent asset creation when packages are being loaded in the settings scripts. 2019-07-01 16:03:04 -07:00
.gitattributes Initial creation of playmodetests repo 2018-05-29 15:14:36 -07:00
.gitignore Adding the user settings for vs to the git ignore file 2019-05-08 15:32:11 -07:00
.gitmodules Update winmr submodule to use branch 2019.3 2019-09-11 13:59:07 -07:00
README.md Create README.md 2019-03-14 10:24:19 -07:00

README.md

XR Automated Tests - Functional Tests

Here we provide XR automated test projects for both AR and VR functional testing.

  • AR -- Including test projects for ARCore, ARFoundation, ARMock
  • VR -- Including test projects for CrossPlatform and Windows Mixed Reality

All of these tests use the Unity Test Framework to excercise their functionality. You can choose to open project in Unity to explore and run from the Test Runner tab, or launch tests from Unity command line using the runTests Unity.exe command line option.

Unity command line are full defined here: Unity Command Line Arguments

Running these tests from Unity command line provides flexibility for automation by allow you to specify how the test app (player) will be built prior to execution. If you choose to run the tests from the command line, you'll also want to use the -testResults option in order to save the test results to the .xml formatted-file, and the -logfile option to save the Unity editor log to a specified location.

Once you've generated a test results file after running your tests, we encourage you to use the Unity Test Runner Results Reporter. This test results reporter will generate an HTML report from your results, making it easy to read and understand test results and even can be used in a continuous integration system

For usage and details please check each individual test projects.