Does '-testPlatform WSAPlayer' not create a results.xml file because it's not in the list of supported platforms for Unity tests?
According to the Unity Manual, WSAPlayer
isn't in the list of supported platforms. It still works as an argument for -testPlatform
, though, and still runs tests. It doesn't output anything in the file specified by -testResults
. Is this because it's not one of the supported platforms? Is it a bug?
I'm running this command on Unity 2017.1.1f1, Windows 10 64-bit:
Unity.exe -runTests -projectPath path/to/project -testResults path/to/results.xml -testPlatform WSAPlayer -batchmode
Any ideas on this? I'm having a hard time writing automation/CI because of this limitation.
Answer by HaraldNielsen · Sep 21, 2017 at 06:37 PM
Hi @jwallra,
As you have seen WSAPlayer is not currently supported. And that is why you dont see the test results comming in. Im currently working on it and will try to backport it, but cant promise anything :)
Thanks for the confirmation. Where should I keep an eye out for updates on this?
I will make sure it will be part of the release notes
I added here as an re$$anonymous$$der, so I will actually also give an status here if it will be included in 2017.1