Skip to content

Support glob pattern in LoadScene attribute #170

Support glob pattern in LoadScene attribute

Support glob pattern in LoadScene attribute #170

GitHub Actions / test result (2019.4.40f1) completed Apr 28, 2024 in 0s

⚠️ test result (2019.4.40f1) - 98/105, skipped: 6 - Passed in 11.247s

✅ editmode-results.xml - 3/3 - Passed in 0.404s

⚠️ playmode-results.xml - 95/102, skipped: 6 - Passed in 10.843s

Details

✅ editmode-results.xml - 3/3 - Passed in 0.404s
  • ✅ TestHelper.Editor.CreateSceneAttributeTest - 1/1 - Passed in 0.065s
    • Attach_CreateNewSceneWithCameraAndLight - Passed in 0.065s
  • ✅ TestHelper.Editor.LoadSceneAttributeTest - 1/1 - Passed in 0.160s
    • Attach_LoadedSceneNotInBuild - Passed in 0.160s
  • ✅ TestHelper.Editor.TemporaryBuildScenesUsingInTestTest - 1/1 - Passed in 0.030s
    • GetScenesUsingInTest_AttachedToMethod_ReturnScenesSpecifiedByAttribute - Passed in 0.030s
⚠️ playmode-results.xml - 95/102, skipped: 6 - Passed in 10.843s
  • ✅ TestHelper.RuntimeInternals.CommandLineArgsTest - 3/3 - Passed in 0.028s
    • DictionaryFromCommandLineArgs - Passed in 0.024s
    • GetScreenshotDirectory_WithArgument_GotSpecifiedDirectory - Passed in 0.002s
    • GetScreenshotDirectory_WithoutArgument_GotDefaultDirectory - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.ScreenshotHelperTest - 4/4 - Passed in 0.741s
    • TakeScreenshot_FromAsyncTest - Passed in 0.377s
    • TakeScreenshot_Multiple_SaveToEachSpecifyPaths - Passed in 0.139s
    • TakeScreenshot_SaveToDefaultPath - Passed in 0.117s
    • TakeScreenshot_SpecifySuperSizeAndStereoCaptureMode_NotWork - Passed in 0.107s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizeGroupWrapperTest - 7/7 - Passed in 0.016s
    • AddCustomSize_Added - Passed in 0.006s
    • IndexOf_FoundAddedSize - Passed in 0.003s
    • RemoveCustomSize_Removed - Passed in 0.003s
    • CreateInstance_Instantiate - Passed in 0.001s
    • GetGameViewSize_GotGameViewSize - Passed in 0.001s
    • GetTotalCount_GotCount - Passed in 0.001s
    • IndexOf_NotFound - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizesWrapperTest - 2/2 - Passed in 0.002s
    • CreateInstance_Instantiate - Passed in 0.001s
    • CurrentGroup_GetGameViewSizeGroupInstance - Passed in 0.001s
  • ⚠️ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizeWrapperTest - 6/7, skipped: 1 - Passed in 0.016s
    • CreateInstance_Instantiate - Passed in 0.003s
    • Equals_DifferentHeight_NotEquals - Passed in 0.001s
    • Equals_DifferentType_NotEquals - Inconclusive in 0.008s
    • Equals_DifferentWidth_NotEquals - Passed in 0.001s
    • Equals_InnerObjectIsNull_NotEquals - Passed in 0.001s
    • Equals_SameSizeButDifferentName_Equals - Passed in 0.001s
    • Equals_WrapperObjectIsNull_NotEquals - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewWrapperTest - 2/2 - Passed in 0.004s
    • GetWindow - Passed in 0.001s
    • SelectedSizeIndex - Passed in 0.003s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest.AttachToParameterizedTest_CreateNewScene - 2/2 - Passed in 0.049s
    • AttachToParameterizedTest_CreateNewScene(0) - Passed in 0.025s
    • AttachToParameterizedTest_CreateNewScene(1) - Passed in 0.024s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest - 5/5 - Passed in 0.225s
    • Attach_CreateNewSceneWithoutCameraAndLight - Passed in 0.041s
    • Attach_WithCamera_CreateNewSceneWithCamera - Passed in 0.030s
    • Attach_WithLight_CreateNewSceneWithLight - Passed in 0.027s
    • AttachToAsyncTest_CreateNewScene - Passed in 0.064s
    • AttachToUnityTest_CreateNewScene - Passed in 0.062s
  • ⚠️ TestHelper.Attributes.FocusGameViewAttributeTest - 1/4, skipped: 3 - Passed in 0.003s
    • ⚠️ Attach_GameViewHasFocus - Skipped
    • Attach_KeepBatchmode - Passed in 0.003s
    • ⚠️ AttachToAsyncTest_GameViewHasFocus - Skipped
    • ⚠️ AttachToUnityTest_GameViewHasFocus - Skipped
  • ✅ TestHelper.Attributes.GameViewResolutionAttributeTest - 2/2 - Passed in 0.169s
    • AttachToAsyncTest_SetScreenSizeToFullHD - Passed in 0.120s
    • AttachToUnityTest_SetScreenSizeToVGA - Passed in 0.049s
  • ✅ TestHelper.Attributes.GizmosShowOnGameViewAttributeTest - 4/4 - Passed in 2.632s
    • Attach_False_HideGizmos - Passed in 1.416s
    • Attach_True_ShowGizmos - Passed in 0.567s
    • AttachToAsyncTest_ShowGizmos - Passed in 0.331s
    • AttachToUnityTest_ShowGizmos - Passed in 0.319s
  • ⚠️ TestHelper.Attributes.IgnoreBatchModeAttributeTest - 0/3, skipped: 3 - Passed in 0.000s
    • ⚠️ Attach_SkipOnBatchMode - Skipped
    • ⚠️ AttachToAsyncTest_SkipOnBatchMode - Skipped
    • ⚠️ AttachToUnityTest_SkipOnBatchMode - Skipped
  • ✅ TestHelper.Attributes.IgnoreWindowModeAttributeTest - 3/3 - Passed in 0.100s
    • Attach_SkipOnWindowMode - Passed in 0.001s
    • AttachToAsyncTest_SkipOnWindowMode - Passed in 0.046s
    • AttachToUnityTest_SkipOnWindowMode - Passed in 0.052s
  • ✅ TestHelper.Attributes.LoadSceneAttributeTest - 4/4 - Passed in 0.956s
    • Attach_LoadedSceneNotInBuild - Passed in 0.137s
    • AttachToAsyncTest_LoadedSceneNotInBuild - Passed in 0.505s
    • AttachToUnityTest_LoadedSceneNotInBuild - Passed in 0.196s
    • UsingGlob_LoadedSceneNotInBuild - Passed in 0.117s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest.AttachToParameterizedTest_SaveAllScreenshots - 4/4 - Passed in 0.652s
    • AttachToParameterizedTest_SaveAllScreenshots(0,2) - Passed in 0.195s
    • AttachToParameterizedTest_SaveAllScreenshots(0,3) - Passed in 0.142s
    • AttachToParameterizedTest_SaveAllScreenshots(1,2) - Passed in 0.147s
    • AttachToParameterizedTest_SaveAllScreenshots(1,3) - Passed in 0.167s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest.AttachToParameterizedTest_SaveAllScreenshots_ExistFile - 4/4 - Passed in 0.002s
    • AttachToParameterizedTest_SaveAllScreenshots_ExistFile(0,2) - Passed in 0.001s
    • AttachToParameterizedTest_SaveAllScreenshots_ExistFile(0,3) - Passed in 0.000s
    • AttachToParameterizedTest_SaveAllScreenshots_ExistFile(1,2) - Passed in 0.000s
    • AttachToParameterizedTest_SaveAllScreenshots_ExistFile(1,3) - Passed in 0.000s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest - 16/16 - Passed in 1.441s
    • Attach_SaveScreenshotToDefaultPath - Passed in 0.162s
    • AttachWithSuperSize_SaveSuperSizeScreenshot - Passed in 0.209s
    • AttachToAsyncTest_SaveScreenshotToDefaultPath - Passed in 0.192s
    • AttachWithStereoCaptureMode_SaveStereoScreenshot - Passed in 0.156s
    • AttachWithGizmos_TakeScreenshotWithGizmos - Passed in 0.192s
    • AttachWithFilename_SaveScreenshotToSpecifyPath - Passed in 0.150s
    • AttachWithDirectory_SaveScreenshotToSpecifyPath - Passed in 0.162s
    • AttachToUnityTest_SaveScreenshotToDefaultPath - Passed in 0.209s
    • AttachToAsyncTest_SaveScreenshotToDefaultPath_ExistFile - Passed in 0.001s
    • AttachWithDirectory_SaveScreenshotToSpecifyPath_ExistFile - Passed in 0.001s
    • Attach_SaveScreenshotToDefaultPath_ExistFile - Passed in 0.001s
    • AttachWithFilename_SaveScreenshotToSpecifyPath_ExistFile - Passed in 0.001s
    • AttachWithGizmos_TakeScreenshotWithGizmos_ExistFile - Passed in 0.001s
    • AttachWithStereoCaptureMode_SaveStereoScreenshot_ExistFile - Passed in 0.001s
    • AttachToUnityTest_SaveScreenshotToDefaultPath_ExistFile - Passed in 0.001s
    • AttachWithSuperSize_SaveSuperSizeScreenshot_ExistFile - Passed in 0.001s
  • ✅ TestHelper.Attributes.TimeScaleAttributeTest - 4/4 - Passed in 0.191s
    • AttachToUnityTest_ApplyTimeScale - Passed in 0.084s
    • AttachToAsyncTest_ApplyTimeScale - Passed in 0.077s
    • Attach_ApplyTimeScale - Passed in 0.030s
    • AfterRunningTest_RevertTimeScale - Passed in 0.001s
  • ✅ TestHelper.Comparers.GameObjectNameComparerTest - 4/4 - Passed in 0.013s
    • UsingWithCollection_CompareGameObjectsByName - Passed in 0.004s
    • UsingWithCollection_NotContain_Failure - Passed in 0.006s
    • UsingWithEqualTo_CompareGameObjectsByName - Passed in 0.001s
    • UsingWithEqualTo_NotEqualName_Failure - Passed in 0.002s
  • ✅ TestHelper.Constraints.DestroyedConstraintTest - 6/6 - Passed in 0.013s
    • IsDestroyed_DestroyedGameObject_Success - Passed in 0.005s
    • IsDestroyed_NotDestroyedGameObject_Failure - Passed in 0.002s
    • IsDestroyed_NotGameObject_Failure - Passed in 0.002s
    • IsDestroyed_Null_Failure - Passed in 0.002s
    • IsNotDestroyed_DestroyedGameObject_Failure - Passed in 0.002s
    • IsNotDestroyed_NotDestroyedGameObject_Success - Passed in 0.001s
  • ✅ TestHelper.Utils.ScenePathFinderTest.GetExistScenePath_ExistPath_GotExistScenePath - 4/4 - Passed in 0.025s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild.unity") - Passed in 0.007s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper/Tes?s/S?enes/NotInScenesInBuild.unity") - Passed in 0.006s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper///NotInScenesInBuild.unity") - Passed in 0.006s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper//NotInScenesInBuild.unity")** - Passed in 0.006s
  • ✅ TestHelper.Utils.ScenePathFinderTest.GetExistScenePath_InvalidGlobPattern_ThrowsArgumentException - 5/5 - Passed in 0.003s
    • GetExistScenePath_InvalidGlobPattern_ThrowsArgumentException("Packages//NotInScenesInBuild.unity")** - Passed in 0.002s
    • GetExistScenePath_InvalidGlobPattern_ThrowsArgumentException("/NotInScenesInBuild.unity")** - Passed in 0.000s
    • GetExistScenePath_InvalidGlobPattern_ThrowsArgumentException("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild") - Passed in 0.000s
    • GetExistScenePath_InvalidGlobPattern_ThrowsArgumentException("Packages/com.nowsprinting.test-helper/Tests/Scenes/Not??ScenesInBuild.unity") - Passed in 0.000s
    • ✅ *GetExistScenePath_InvalidGlobPattern_ThrowsArgumentException("Packages/com.nowsprinting.test-helper/Tests/Scenes/InScenesInBuild.unity") - Passed in 0.000s
  • ✅ TestHelper.Utils.ScenePathFinderTest.GetExistScenePath_NotExistPath_InEditor_ThrowsFileNotFoundException - 2/2 - Passed in 0.018s
    • GetExistScenePath_NotExistPath_InEditor_ThrowsFileNotFoundException("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotExistScene.unity") - Passed in 0.010s
    • GetExistScenePath_NotExistPath_InEditor_ThrowsFileNotFoundException("Packages/com.nowsprinting.test-helper/*/NotInScenesInBuild.unity") - Passed in 0.008s
  • ✅ TestHelper.Utils.ScenePathFinderTest.GetExistScenePathOnPlayer_GotSceneName - 1/1 - Passed in 0.002s
    • GetExistScenePathOnPlayer_GotSceneName("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild.unity") - Passed in 0.002s