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

Add command line argument to specify screenshot save directory #63

Merged
merged 5 commits into from
Mar 21, 2024

Mod README.md

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

Add command line argument to specify screenshot save directory #63

Mod README.md
511ad1c
Select commit
Loading
Failed to load commit list.
GitHub Actions / test result (2022.3.17f1) completed Mar 21, 2024 in 0s

⚠️ test result (2022.3.17f1) - 86/92, skipped: 6 - Passed in 10.901s

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

⚠️ playmode-results.xml - 83/89, skipped: 6 - Passed in 10.650s

Details

✅ editmode-results.xml - 3/3 - Passed in 0.251s
  • ✅ TestHelper.Editor.CreateSceneAttributeTest - 1/1 - Passed in 0.046s
    • Attach_CreateNewSceneWithCameraAndLight - Passed in 0.046s
  • ✅ TestHelper.Editor.LoadSceneAttributeTest - 1/1 - Passed in 0.072s
    • Attach_AlreadyLoadedSceneNotInBuild - Passed in 0.072s
  • ✅ TestHelper.Editor.TemporaryBuildScenesUsingInTestTest - 1/1 - Passed in 0.017s
    • GetScenesUsingInTest_AttachedToMethod_ReturnScenesSpecifiedByAttribute - Passed in 0.017s
⚠️ playmode-results.xml - 83/89, skipped: 6 - Passed in 10.650s
  • ✅ TestHelper.RuntimeInternals.CommandLineArgsTest - 3/3 - Passed in 0.021s
    • DictionaryFromCommandLineArgs - Passed in 0.017s
    • GetScreenshotDirectory_WithArgument_GotSpecifiedDirectory - Passed in 0.002s
    • GetScreenshotDirectory_WithoutArgument_GotDefaultDirectory - Passed in 0.002s
  • ✅ TestHelper.RuntimeInternals.ScreenshotHelperTest - 4/4 - Passed in 0.847s
    • TakeScreenshot_FromAsyncTest - Passed in 0.436s
    • TakeScreenshot_Multiple_SaveToEachSpecifyPaths - Passed in 0.182s
    • TakeScreenshot_SaveToDefaultPath - Passed in 0.125s
    • TakeScreenshot_SpecifySuperSizeAndStereoCaptureMode_NotWork - Passed in 0.104s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizeGroupWrapperTest - 7/7 - Passed in 0.021s
    • AddCustomSize_Added - Passed in 0.008s
    • IndexOf_FoundAddedSize - Passed in 0.005s
    • RemoveCustomSize_Removed - Passed in 0.004s
    • 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.003s
    • CreateInstance_Instantiate - Passed in 0.002s
    • CurrentGroup_GetGameViewSizeGroupInstance - Passed in 0.002s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewSizeWrapperTest - 7/7 - Passed in 0.012s
    • CreateInstance_Instantiate - Passed in 0.003s
    • Equals_DifferentHeight_NotEquals - Passed in 0.002s
    • Equals_DifferentType_NotEquals - Passed in 0.002s
    • Equals_DifferentWidth_NotEquals - Passed in 0.001s
    • Equals_InnerObjectIsNull_NotEquals - Passed in 0.001s
    • Equals_SameSizeButDifferentName_Equals - Passed in 0.002s
    • Equals_WrapperObjectIsNull_NotEquals - Passed in 0.001s
  • ✅ TestHelper.RuntimeInternals.Wrappers.UnityEditor.GameViewWrapperTest - 2/2 - Passed in 0.006s
    • GetWindow - Passed in 0.001s
    • SelectedSizeIndex - Passed in 0.004s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest.AttachToParameterizedTest_CreateNewScene - 2/2 - Passed in 0.058s
    • AttachToParameterizedTest_CreateNewScene(0) - Passed in 0.030s
    • AttachToParameterizedTest_CreateNewScene(1) - Passed in 0.028s
  • ✅ TestHelper.Attributes.CreateSceneAttributeTest - 5/5 - Passed in 0.257s
    • Attach_CreateNewSceneWithoutCameraAndLight - Passed in 0.041s
    • Attach_WithCamera_CreateNewSceneWithCamera - Passed in 0.040s
    • Attach_WithLight_CreateNewSceneWithLight - Passed in 0.038s
    • AttachToAsyncTest_CreateNewScene - Passed in 0.069s
    • AttachToUnityTest_CreateNewScene - Passed in 0.069s
  • ⚠️ TestHelper.Attributes.FocusGameViewAttributeTest - 1/4, skipped: 3 - Passed in 0.006s
    • ⚠️ Attach_GameViewHasFocus - Skipped
    • Attach_KeepBatchmode - Passed in 0.006s
    • ⚠️ AttachToAsyncTest_GameViewHasFocus - Skipped
    • ⚠️ AttachToUnityTest_GameViewHasFocus - Skipped
  • ✅ TestHelper.Attributes.GameViewResolutionAttributeTest - 2/2 - Passed in 0.355s
    • AttachToAsyncTest_SetScreenSizeToFullHD - Passed in 0.290s
    • AttachToUnityTest_SetScreenSizeToVGA - Passed in 0.064s
  • ✅ TestHelper.Attributes.GizmosShowOnGameViewAttributeTest - 4/4 - Passed in 3.043s
    • Attach_False_HideGizmos - Passed in 1.508s
    • Attach_True_ShowGizmos - Passed in 0.761s
    • AttachToAsyncTest_ShowGizmos - Passed in 0.385s
    • AttachToUnityTest_ShowGizmos - Passed in 0.389s
  • ⚠️ 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.136s
    • Attach_SkipOnWindowMode - Passed in 0.001s
    • AttachToAsyncTest_SkipOnWindowMode - Passed in 0.074s
    • AttachToUnityTest_SkipOnWindowMode - Passed in 0.060s
  • ✅ TestHelper.Attributes.LoadSceneAttributeTest - 3/3 - Passed in 0.823s
    • Attach_AlreadyLoadedSceneNotInBuild - Passed in 0.105s
    • AttachToAsyncTest_AlreadyLoadedSceneNotInBuild - Passed in 0.522s
    • AttachToUnityTest_AlreadyLoadedSceneNotInBuild - Passed in 0.196s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest.AttachToParameterizedTest_SaveAllScreenshots - 4/4 - Passed in 0.612s
    • AttachToParameterizedTest_SaveAllScreenshots(0,2) - Passed in 0.208s
    • AttachToParameterizedTest_SaveAllScreenshots(0,3) - Passed in 0.134s
    • AttachToParameterizedTest_SaveAllScreenshots(1,2) - Passed in 0.141s
    • AttachToParameterizedTest_SaveAllScreenshots(1,3) - Passed in 0.130s
  • ✅ TestHelper.Attributes.TakeScreenshotAttributeTest.AttachToParameterizedTest_SaveAllScreenshots_ExistFile - 4/4 - Passed in 0.003s
    • AttachToParameterizedTest_SaveAllScreenshots_ExistFile(0,2) - Passed in 0.002s
    • 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.415s
    • Attach_SaveScreenshotToDefaultPath - Passed in 0.168s
    • AttachWithSuperSize_SaveSuperSizeScreenshot - Passed in 0.209s
    • AttachToAsyncTest_SaveScreenshotToDefaultPath - Passed in 0.226s
    • AttachWithStereoCaptureMode_SaveStereoScreenshot - Passed in 0.136s
    • AttachWithGizmos_TakeScreenshotWithGizmos - Passed in 0.180s
    • AttachWithFilename_SaveScreenshotToSpecifyPath - Passed in 0.149s
    • AttachWithDirectory_SaveScreenshotToSpecifyPath - Passed in 0.139s
    • AttachToUnityTest_SaveScreenshotToDefaultPath - Passed in 0.196s
    • AttachToAsyncTest_SaveScreenshotToDefaultPath_ExistFile - Passed in 0.002s
    • 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.250s
    • AttachToUnityTest_ApplyTimeScale - Passed in 0.109s
    • AttachToAsyncTest_ApplyTimeScale - Passed in 0.098s
    • Attach_ApplyTimeScale - Passed in 0.041s
    • AfterRunningTest_RevertTimeScale - Passed in 0.001s
  • ✅ TestHelper.Comparers.GameObjectNameComparerTest - 4/4 - Passed in 0.017s
    • UsingWithCollection_CompareGameObjectsByName - Passed in 0.005s
    • UsingWithCollection_NotContain_Failure - Passed in 0.007s
    • UsingWithEqualTo_CompareGameObjectsByName - Passed in 0.001s
    • UsingWithEqualTo_NotEqualName_Failure - Passed in 0.003s
  • ✅ TestHelper.Constraints.DestroyedConstraintTest - 6/6 - Passed in 0.019s
    • IsDestroyed_DestroyedGameObject_Success - Passed in 0.006s
    • IsDestroyed_NotDestroyedGameObject_Failure - Passed in 0.003s
    • IsDestroyed_NotGameObject_Failure - Passed in 0.002s
    • IsDestroyed_Null_Failure - Passed in 0.003s
    • IsNotDestroyed_DestroyedGameObject_Failure - Passed in 0.004s
    • IsNotDestroyed_NotDestroyedGameObject_Success - Passed in 0.001s