|
|
|
@ -27,7 +27,7 @@ namespace UnityTest
|
|
|
|
|
public static void RunIntegrationTests() |
|
|
|
|
{ |
|
|
|
|
var targetPlatform = GetTargetPlatform(); |
|
|
|
|
var otherBuildScenes = GetSceneListFromParam (k_OtherBuildScenesParam); |
|
|
|
|
var otherBuildScenes = GetSceneListFromParam(k_OtherBuildScenesParam); |
|
|
|
|
|
|
|
|
|
var testScenes = GetSceneListFromParam(k_TestScenesParam); |
|
|
|
|
if (testScenes.Count == 0) |
|
|
|
@ -36,7 +36,7 @@ namespace UnityTest
|
|
|
|
|
RunIntegrationTests(targetPlatform, testScenes, otherBuildScenes); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void RunIntegrationTests(BuildTarget ? targetPlatform) |
|
|
|
|
public static void RunIntegrationTests(BuildTarget? targetPlatform) |
|
|
|
|
{ |
|
|
|
|
var sceneList = FindTestScenesInProject(); |
|
|
|
|
RunIntegrationTests(targetPlatform, sceneList, new List<string>()); |
|
|
|
@ -70,7 +70,7 @@ namespace UnityTest
|
|
|
|
|
port = port |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
if (Application.isWebPlayer) |
|
|
|
|
if (Application.platform == RuntimePlatform.WebGLPlayer) |
|
|
|
|
{ |
|
|
|
|
config.sendResultsOverNetwork = false; |
|
|
|
|
Debug.Log("You can't use WebPlayer as active platform for running integration tests. Switching to Standalone"); |
|
|
|
|