No editor test result file is created
Hey guys,
i just have a problem with the Unity Editor Test System. I'm using Unity version 5.3.4f1 on Mac and everytime i want to create a TestResultFile with the Terminal (like: http://docs.unity3d.com/Manual/testing-editortestsrunner.html) but it didn't create the ResultsFile only a new folder for it. The Editor.log say that the test is crushed but i have no clue why. i used also the standard unity Testscript with the same result...
This is the command i am using:
/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchMode -projectPath /Users/pschulz/SNSAssetbundleData -runEditorTests -editorTestsResultFile TestResults/testResults.xml
And this is the Editor.log:
NullReferenceException: Object reference not set to an instance of an object at UnityEditor.EditorTestsRunner.TestListBuilder.ParseTestList (UnityEditor.TreeViewItem parent, UnityEditor.EditorTestsRunner.EditorTestResultGroup parentResult, Int32 depth, NUnit.Core.Test test, UnityEditor.EditorTestsRunner.FilteringOptions renderingOptions) [0x00000] in /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/TestRunner/TestListBuilder.cs:39 at UnityEditor.EditorTestsRunner.TestListBuilder.GetTests (NUnit.Core.TestSuite testSuite, UnityEditor.EditorTestsRunner.TestFilterSettings renderingFilter) [0x00021] in /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/TestRunner/TestListBuilder.cs:33 at UnityEditor.EditorTestsRunner.Batch.RunEditorTests (System.String resultFilePath, System.String verboseLog, System.String[] nameFilter, System.String[] categoryFilter) [0x0007e] in /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/Batch.cs:38
(Filename: /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/TestRunner/TestListBuilder.cs Line: 39)
NullReferenceException: Object reference not set to an instance of an object at UnityEditor.EditorTestsRunner.TestListBuilder.ParseTestList (UnityEditor.TreeViewItem parent, UnityEditor.EditorTestsRunner.EditorTestResultGroup parentResult, Int32 depth, NUnit.Core.Test test, UnityEditor.EditorTestsRunner.FilteringOptions renderingOptions) [0x00000] in /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/TestRunner/TestListBuilder.cs:39 at UnityEditor.EditorTestsRunner.TestListBuilder.GetTests (NUnit.Core.TestSuite testSuite, UnityEditor.EditorTestsRunner.TestFilterSettings renderingFilter) [0x00021] in /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/TestRunner/TestListBuilder.cs:33 at UnityEditor.EditorTestsRunner.Batch.RunEditorTests (System.String resultFilePath, System.String verboseLog, System.String[] nameFilter, System.String[] categoryFilter) [0x0007e] in /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/Batch.cs:38
(Filename: /Users/builduser/buildslave/unity/build/Extensions/EditorTestsRunner/UnityEditor.EditorTestsRunner/TestRunner/TestListBuilder.cs Line: 39)
An exception was thrown when running unit tests
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Utilities/Argv.cpp Line: 168)
Aborting batchmode due to failure: An exception was thrown when running unit tests
Thread 'UnityLookForNewInputDevices' is still running!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Threads/Thread.cpp Line: 68)
Thread was not cleaned up!
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Threads/Posix/PlatformThread.cpp Line: 45)
i hope anyone can help me solving this problem.