This commit is contained in:
Qi Jiang 2019-03-14 10:24:19 -07:00 коммит произвёл GitHub Enterprise
Родитель 474d7c1de5
Коммит be8d98e5ed
1 изменённых файлов: 18 добавлений и 0 удалений

18
README.md Normal file
Просмотреть файл

@ -0,0 +1,18 @@
# 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](https://docs.unity3d.com/Manual/testing-editortestsrunner.html) 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](https://docs.unity3d.com/Manual/CommandLineArguments.html)
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](https://github.cds.internal.unity3d.com/unity/UnityTestRunnerResultsReporter). 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.