Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflows, Add run tests on Unity 6 #99

Merged
merged 3 commits into from
Sep 21, 2024

Mod run tests Unity version matrix, Add Unity 6

9bd55af
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Fix workflows, Add run tests on Unity 6 #99

Mod run tests Unity version matrix, Add Unity 6
9bd55af
Select commit
Loading
Failed to load commit list.
GitHub Actions / test result (2019.4.40f1) completed Sep 21, 2024 in 0s

⚠️ test result (2019.4.40f1) - 124/135, skipped: 10 - Passed in 13.816s

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

⚠️ playmode-results.xml - 121/132, skipped: 10 - Passed in 13.471s

Details

✅ editmode-results.xml - 3/3 - Passed in 0.345s
  • ✅ TestHelper.Editor.CreateSceneAttributeTest - 1/1 - Passed in 0.062s
    • Attach_CreateNewSceneWithCameraAndLight - Passed in 0.062s
  • ✅ TestHelper.Editor.LoadSceneAttributeTest - 1/1 - Passed in 0.109s
    • Attach_LoadedSceneNotInBuild - Passed in 0.109s
  • ✅ TestHelper.Editor.TemporaryBuildScenesUsingInTestTest - 1/1 - Passed in 0.012s
    • GetScenesUsingInTest_AttachedToMethod_ReturnScenesSpecifiedByAttribute - Passed in 0.012s
⚠️ playmode-results.xml - 121/132, skipped: 10 - Passed in 13.471s
  • ✅ TestHelper.RuntimeInternals.CommandLineArgsTest - 3/3 - Passed in 0.027s
    • DictionaryFromCommandLineArgs - Passed in 0.025s
    • GetScreenshotDirectory_WithArgument_GotSpecifiedDirectory - Passed in 0.001s
    • GetScreenshotDirectory_WithoutArgument_GotDefaultDirectory - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.SceneManagerHelperTest.GetAbsolutePath - 2/2 - Passed in 0.001s
    • GetAbsolutePath("./Scene.unity","Assets/Tests/Runtime/Caller.cs","Assets/Tests/Runtime/Scene.unity") - Passed in 0.001s
    • GetAbsolutePath("../../BadPath/../Scenes/Scene.unity","Packages/com.nowsprinting.test-helper/Tests/Runtime/Attributes/Caller.cs","Packages/com.nowsprinting.test-helper/Tests/Scenes/Scene.unity") - Passed in 0.000s
  • ✅ TestHelper.RuntimeInternals.SceneManagerHelperTest.GetExistScenePath_ExistPath_GotExistScenePath - 4/4 - Passed in 0.008s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild.unity") - Passed in 0.006s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper/Tes?s/S?enes/NotInScenesInBuild.unity") - Passed in 0.001s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper///NotInScenesInBuild.unity") - Passed in 0.001s
    • GetExistScenePath_ExistPath_GotExistScenePath("Packages/com.nowsprinting.test-helper//NotInScenesInBuild.unity")** - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.SceneManagerHelperTest.GetExistScenePath_InvalidGlobPattern_OutputLogError - 5/5 - Passed in 0.009s
    • GetExistScenePath_InvalidGlobPattern_OutputLogError("/NotInScenesInBuild.unity","Scene path must start with `Assets/` or `Packages/`")** - Passed in 0.005s
    • GetExistScenePath_InvalidGlobPattern_OutputLogError("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild","Scene path must ends with `.unity`") - Passed in 0.001s
    • GetExistScenePath_InvalidGlobPattern_OutputLogError("Packages//NotInScenesInBuild.unity","Wildcards cannot be used in the package name of path")** - Passed in 0.001s
    • GetExistScenePath_InvalidGlobPattern_OutputLogError("Packages/com.nowsprinting.test-helper/Tests/Scenes/Not??ScenesInBuild.unity","Wildcards cannot be used in the scene name of path") - Passed in 0.001s
    • ✅ *GetExistScenePath_InvalidGlobPattern_OutputLogError("Packages/com.nowsprinting.test-helper/Tests/Scenes/InScenesInBuild.unity","Wildcards cannot be used in the scene name of path") - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.SceneManagerHelperTest.GetExistScenePath_NotExistPath_InEditor_OutputLogError - 2/2 - Passed in 0.003s
    • GetExistScenePath_NotExistPath_InEditor_OutputLogError("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotExistScene.unity") - Passed in 0.002s
    • GetExistScenePath_NotExistPath_InEditor_OutputLogError("Packages/com.nowsprinting.test-helper/*/NotInScenesInBuild.unity") - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.SceneManagerHelperTest.GetExistScenePathOnPlayer_GotSceneName - 1/1 - Passed in 0.001s
    • GetExistScenePathOnPlayer_GotSceneName("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild.unity") - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.SceneManagerHelperTest.LoadSceneAsync_LoadedScene - 3/3 - Passed in 0.850s
    • LoadSceneAsync_LoadedScene("Packages/com.nowsprinting.test-helper/Tests/Scenes/NotInScenesInBuild.unity") - Passed in 0.087s
    • LoadSceneAsync_LoadedScene("Packages/com.nowsprinting.test-helper//NotInScenesInBuildForGlob.unity")** - Passed in 0.635s
    • LoadSceneAsync_LoadedScene("../Scenes/NotInScenesInBuildForRelative.unity") - Passed in 0.128s
  • ✅ TestHelper.RuntimeInternals.ScreenshotHelperTest - 5/5 - Passed in 0.937s
    • TakeScreenshot_FromAsyncTest - Passed in 0.341s
    • TakeScreenshot_Multiple_SaveToEachSpecifyPaths - Passed in 0.174s
    • TakeScreenshot_SaveToDefaultPath - Passed in 0.146s
    • TakeScreenshot_SpecifySuperSizeAndStereoCaptureMode_NotWork - Passed in 0.131s
    • TakeScreenshot_WithoutLogFilepath_SuppressLogging - Passed in 0.146s
  • ✅ TestHelper.RuntimeInternals.ScreenshotHelperTest+Internal.DefaultFilename_Parameterized - 1/1 - Passed in 0.001s
    • DefaultFilename_Parameterized(0,"s") - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizeGroupWrapperTest - 7/7 - Passed in 0.007s
    • AddCustomSize_Added - Passed in 0.003s
    • IndexOf_FoundAddedSize - Passed in 0.001s
    • RemoveCustomSize_Removed - Passed in 0.002s
    • CreateInstance_Instantiate - Passed in 0.000s
    • GetGameViewSize_GotGameViewSize - Passed in 0.000s
    • GetTotalCount_GotCount - Passed in 0.000s
    • IndexOf_NotFound - Passed in 0.000s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizesWrapperTest - 2/2 - Passed in 0.001s
    • CreateInstance_Instantiate - Passed in 0.000s
    • CurrentGroup_GetGameViewSizeGroupInstance - Passed in 0.000s
  • ⚠️ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizeWrapperTest - 6/7, skipped: 1 - Passed in 0.011s
    • CreateInstance_Instantiate - Passed in 0.001s
    • Equals_DifferentHeight_NotEquals - Passed in 0.001s
    • Equals_DifferentType_NotEquals - Inconclusive in 0.008s
    • Equals_DifferentWidth_NotEquals - Passed in 0.000s
    • Equals_InnerObjectIsNull_NotEquals - Passed in 0.000s
    • Equals_SameSizeButDifferentName_Equals - Passed in 0.000s
    • Equals_WrapperObjectIsNull_NotEquals - Passed in 0.000s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewWrapperTest - 2/2 - Passed in 0.002s
    • GetWindow - Passed in 0.000s
    • SelectedSizeIndex - Passed in 0.001s
  • ✅ TestHelper.Attributes.BuildSceneAttributeTest - 2/2 - Passed in 0.217s
    • Attach_InferredSceneIntoBuild - Passed in 0.064s
    • Attach_SceneIntoBuild - Passed in 0.154s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest.AttachToParameterizedTest_CreateNewScene - 2/2 - Passed in 0.080s
    • AttachToParameterizedTest_CreateNewScene(0) - Passed in 0.040s
    • AttachToParameterizedTest_CreateNewScene(1) - Passed in 0.040s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest - 5/5 - Passed in 0.720s
    • Attach_CreateNewSceneWithoutCameraAndLight - Passed in 0.052s
    • Attach_WithCamera_CreateNewSceneWithCamera - Passed in 0.060s
    • Attach_WithLight_CreateNewSceneWithLight - Passed in 0.408s
    • AttachToAsyncTest_CreateNewScene - Passed in 0.101s
    • AttachToUnityTest_CreateNewScene - Passed in 0.098s
  • ⚠️ TestHelper.Attributes.FocusGameViewAttributeTest - 1/4, skipped: 3 - Passed in 0.002s
    • ⚠️ Attach_GameViewHasFocus - Skipped
    • Attach_KeepBatchmode - Passed in 0.002s
    • ⚠️ AttachToAsyncTest_GameViewHasFocus - Skipped
    • ⚠️ AttachToUnityTest_GameViewHasFocus - Skipped
  • ✅ TestHelper.Attributes.GameViewResolutionAttributeTest - 2/2 - Passed in 0.480s
    • AttachToAsyncTest_SetScreenSizeToFullHD - Passed in 0.389s
    • AttachToUnityTest_SetScreenSizeToVGA - Passed in 0.091s
  • ⚠️ TestHelper.Attributes.GizmosShowOnGameViewAttributeTest - 3/4, skipped: 1 - Passed in 1.137s
    • Attach_False_HideGizmos - Passed in 0.212s
    • Attach_True_ShowGizmos - Passed in 0.572s
    • AttachToAsyncTest_ShowGizmos - Passed in 0.353s
    • ⚠️ AttachToUnityTest_ShowGizmos - Skipped
  • ⚠️ 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.173s
    • Attach_SkipOnWindowMode - Passed in 0.000s
    • AttachToAsyncTest_SkipOnWindowMode - Passed in 0.087s
    • AttachToUnityTest_SkipOnWindowMode - Passed in 0.086s
  • ✅ TestHelper.Attributes.LoadSceneAttributeTest - 6/6 - Passed in 0.948s
    • Attach_LoadedSceneNotInBuild - Passed in 0.155s
    • AttachToAsyncTest_LoadedSceneNotInBuild - Passed in 0.194s
    • AttachToUnityTest_LoadedSceneNotInBuild - Passed in 0.201s
    • UsingGlob_LoadedSceneNotInBuild - Passed in 0.125s
    • UsingInferredPath_LoadedSceneNotInBuild - Passed in 0.140s
    • UsingRelativePath_LoadedSceneNotInBuild - Passed in 0.133s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest.AttachToParameterizedTest_SaveAllScreenshots - 4/4 - Passed in 0.714s
    • AttachToParameterizedTest_SaveAllScreenshots(0,2) - Passed in 0.221s
    • AttachToParameterizedTest_SaveAllScreenshots(0,3) - Passed in 0.159s
    • AttachToParameterizedTest_SaveAllScreenshots(1,2) - Passed in 0.166s
    • AttachToParameterizedTest_SaveAllScreenshots(1,3) - Passed in 0.168s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest.AttachToParameterizedTest_SaveAllScreenshots_ExistFile - 4/4 - Passed in 0.001s
    • AttachToParameterizedTest_SaveAllScreenshots_ExistFile(0,2) - Passed in 0.000s
    • 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 - 14/16, skipped: 2 - Passed in 1.352s
    • Attach_SaveScreenshotToDefaultPath - Passed in 0.167s
    • AttachWithSuperSize_SaveSuperSizeScreenshot - Passed in 0.232s
    • AttachToAsyncTest_SaveScreenshotToDefaultPath - Passed in 0.196s
    • AttachWithStereoCaptureMode_SaveStereoScreenshot - Passed in 0.175s
    • AttachWithGizmos_TakeScreenshotWithGizmos - Passed in 0.234s
    • AttachWithFilename_SaveScreenshotToSpecifyPath - Passed in 0.172s
    • AttachWithDirectory_SaveScreenshotToSpecifyPath - Passed in 0.172s
    • ⚠️ AttachToUnityTest_SaveScreenshotToDefaultPath - Skipped
    • AttachToAsyncTest_SaveScreenshotToDefaultPath_ExistFile - Passed in 0.001s
    • AttachWithDirectory_SaveScreenshotToSpecifyPath_ExistFile - Passed in 0.000s
    • Attach_SaveScreenshotToDefaultPath_ExistFile - Passed in 0.000s
    • AttachWithFilename_SaveScreenshotToSpecifyPath_ExistFile - Passed in 0.000s
    • AttachWithGizmos_TakeScreenshotWithGizmos_ExistFile - Passed in 0.000s
    • AttachWithStereoCaptureMode_SaveStereoScreenshot_ExistFile - Passed in 0.000s
    • ⚠️ AttachToUnityTest_SaveScreenshotToDefaultPath_ExistFile - Skipped
    • AttachWithSuperSize_SaveSuperSizeScreenshot_ExistFile - Passed in 0.000s
  • ✅ TestHelper.Attributes.TimeScaleAttributeTest - 4/4 - Passed in 0.176s
    • AttachToUnityTest_ApplyTimeScale - Passed in 0.072s
    • AttachToAsyncTest_ApplyTimeScale - Passed in 0.074s
    • Attach_ApplyTimeScale - Passed in 0.030s
    • AfterRunningTest_RevertTimeScale - Passed in 0.000s
  • ✅ TestHelper.Attributes.UnityVersionAttributeTest.IsSkip_newerThanOrEqual_NotSkip - 5/5 - Passed in 0.001s
    • IsSkip_newerThanOrEqual_NotSkip("2023.2.16f1") - Passed in 0.000s
    • IsSkip_newerThanOrEqual_NotSkip("2023.2.15f1") - Passed in 0.000s
    • IsSkip_newerThanOrEqual_NotSkip("2023.2") - Passed in 0.000s
    • IsSkip_newerThanOrEqual_NotSkip("2023") - Passed in 0.000s
    • IsSkip_newerThanOrEqual_NotSkip("2022") - Passed in 0.000s
  • ✅ TestHelper.Attributes.UnityVersionAttributeTest.IsSkip_newerThanOrEqual_Skip - 3/3 - Passed in 0.001s
    • IsSkip_newerThanOrEqual_Skip("2023.2.17f1") - Passed in 0.000s
    • IsSkip_newerThanOrEqual_Skip("2023.3") - Passed in 0.000s
    • IsSkip_newerThanOrEqual_Skip("6000") - Passed in 0.000s
  • ✅ TestHelper.Attributes.UnityVersionAttributeTest.IsSkip_olderThan_NotSkip - 5/5 - Passed in 0.001s
    • IsSkip_olderThan_NotSkip("2023.2.17f1") - Passed in 0.000s
    • IsSkip_olderThan_NotSkip("2023.2.16f1") - Passed in 0.000s
    • IsSkip_olderThan_NotSkip("2023.2") - Passed in 0.000s
    • IsSkip_olderThan_NotSkip("2023") - Passed in 0.000s
    • IsSkip_olderThan_NotSkip("6000") - Passed in 0.000s
  • ✅ TestHelper.Attributes.UnityVersionAttributeTest.IsSkip_olderThan_Skip - 4/4 - Passed in 0.001s
    • IsSkip_olderThan_Skip("2023.2.15f1") - Passed in 0.000s
    • IsSkip_olderThan_Skip("2023.1") - Passed in 0.000s
    • IsSkip_olderThan_Skip("2022") - Passed in 0.000s
    • IsSkip_olderThan_Skip("2021") - Passed in 0.000s
  • ⚠️ TestHelper.Attributes.UnityVersionAttributeTest - 1/2, skipped: 1 - Passed in 0.000s
    • Attach_newerThanOrEqual2019_NotSkip - Passed in 0.000s
    • ⚠️ Attach_olderThan2019_4_0f1_Skip - Skipped
  • ✅ TestHelper.Comparers.GameObjectNameComparerTest - 4/4 - Passed in 0.008s
    • UsingWithCollection_CompareGameObjectsByName - Passed in 0.003s
    • UsingWithCollection_NotContain_Failure - Passed in 0.005s
    • UsingWithEqualTo_CompareGameObjectsByName - Passed in 0.000s
    • UsingWithEqualTo_NotEqualName_Failure - Passed in 0.001s
  • ✅ TestHelper.Constraints.DestroyedConstraintTest - 6/6 - Passed in 0.003s
    • IsDestroyed_DestroyedGameObject_Success - Passed in 0.001s
    • IsDestroyed_NotDestroyedGameObject_Failure - Passed in 0.001s
    • IsDestroyed_NotGameObject_Failure - Passed in 0.000s
    • IsDestroyed_Null_Failure - Passed in 0.000s
    • IsNotDestroyed_DestroyedGameObject_Failure - Passed in 0.001s
    • IsNotDestroyed_NotDestroyedGameObject_Success - Passed in 0.000s