Skip to content

Updated tests to MSTest.Sdk. #521

Updated tests to MSTest.Sdk.

Updated tests to MSTest.Sdk. #521

GitHub Actions / Test - Results - macos-latest succeeded Jul 16, 2024 in 0s

110 passed, 0 failed and 23 skipped

Tests passed successfully

✅ _Mac-1721161686702_2024-07-16_20_39_39.387.trx

133 tests were completed in 2s with 110 passed, 0 failed and 23 skipped.

Test suite Passed Failed Skipped Time
MSStore.CLI.UnitTests.AppsCommandUnitTests 4✅ 324ms
MSStore.CLI.UnitTests.CredentialManagerUnixTests 2✅ 20ms
MSStore.CLI.UnitTests.EmptyCommandUnitTests 4✅ 81ms
MSStore.CLI.UnitTests.ExternalCommandExecutorTests 1✅ 33ms
MSStore.CLI.UnitTests.FlightsCommandUnitTests 4✅ 65ms
MSStore.CLI.UnitTests.FlightsSubmissionCommandUnitTests 7✅ 127ms
MSStore.CLI.UnitTests.FlightsSubmissionRolloutCommandsUnitTests 5✅ 74ms
MSStore.CLI.UnitTests.GraphClientTests 2✅ 20ms
MSStore.CLI.UnitTests.InitCommandUnitTests 2✅ 36ms
MSStore.CLI.UnitTests.PackageCommandUnitTests 6✅ 15⚪ 156ms
MSStore.CLI.UnitTests.ProductTypeHelperTests 4✅ 1ms
MSStore.CLI.UnitTests.ProjectConfiguratorFactoryTests 7✅ 3⚪ 102ms
MSStore.CLI.UnitTests.ProjectConfiguratorTests 16✅ 2⚪ 350ms
MSStore.CLI.UnitTests.PublishCommandUnitTests 8✅ 3⚪ 167ms
MSStore.CLI.UnitTests.ReconfigureCommandUnitTests 7✅ 105ms
MSStore.CLI.UnitTests.SetPublisherDisplayNameCommandUnitTests 2✅ 30ms
MSStore.CLI.UnitTests.SettingsCommandUnitTests 3✅ 37ms
MSStore.CLI.UnitTests.SubmissionCommandPackagedUnitTests 9✅ 148ms
MSStore.CLI.UnitTests.SubmissionCommandUnpackagedUnitTests 8✅ 124ms
MSStore.CLI.UnitTests.TelemetryUnitTests 3✅ 31ms
MSStore.CLI.UnitTests.VersionExtensionsUnitTests 6✅ 1ms

✅ MSStore.CLI.UnitTests.AppsCommandUnitTests

✅ AppsGetCommandIsNotSupportedForUnpackagedApps
✅ AppsGetCommandShouldReturnErrorIfNonExistingApp
✅ AppsGetCommandShouldReturnZeroIfExistingApp
✅ AppsListCommandShouldReturnZero

✅ MSStore.CLI.UnitTests.CredentialManagerUnixTests

✅ CredentialManagerUnix_ReadCredential_ShouldReturnEmpty
✅ CredentialManagerUnix_WriteCredential_ShouldPersist

✅ MSStore.CLI.UnitTests.EmptyCommandUnitTests

✅ EmptyCommandShouldReturnZeroIfLoggedIn
✅ EmptyCommandShouldReturnZeroIfNotSignedIn
✅ InfoCommandShouldReturnZero
✅ InfoCommandShouldReturnZeroWithCert

✅ MSStore.CLI.UnitTests.ExternalCommandExecutorTests

✅ ExternalCommandExecutorRunsCommand

✅ MSStore.CLI.UnitTests.FlightsCommandUnitTests

✅ FlightsCreateCommandShouldCreateFlight
✅ FlightsDeleteCommandShouldDeleteFlight
✅ FlightsGetCommandShouldReturnFlight
✅ FlightsListCommandShouldReturnZero

✅ MSStore.CLI.UnitTests.FlightsSubmissionCommandUnitTests

✅ FlightSubmissionCommandWithNoParameter
✅ PackagedFlightSubmissionDeleteCommand
✅ PackagedFlightSubmissionGetCommand
✅ PackagedFlightSubmissionPollCommand
✅ PackagedFlightSubmissionPublishCommand
✅ PackagedFlightSubmissionStatusCommand
✅ PackagedFlightSubmissionUpdateCommand

✅ MSStore.CLI.UnitTests.FlightsSubmissionRolloutCommandsUnitTests

✅ FlightSubmissionRolloutFinalizeCommand
✅ FlightSubmissionRolloutGetCommand
✅ FlightSubmissionRolloutGetCommandDoesntWorkIfNoSubmission
✅ FlightSubmissionRolloutHaltCommand
✅ FlightSubmissionRolloutUpdateCommand

✅ MSStore.CLI.UnitTests.GraphClientTests

✅ GraphClientShouldCreateApps
✅ GraphClientShouldReturnApps

✅ MSStore.CLI.UnitTests.InitCommandUnitTests

✅ InitCommandShouldOpenBrowserIfNotRegistered
✅ InitCommandShouldUseDefaultDirectoryIfNoArgument

✅ MSStore.CLI.UnitTests.PackageCommandUnitTests

⚪ PackageCommandForElectronNpmAppsShouldCallElectronNpm
⚪ PackageCommandForElectronYarnAppsShouldCallElectronYarn
⚪ PackageCommandForFlutterAppsShouldCallFlutter
⚪ PackageCommandForFlutterAppsShouldCallFlutterWithOutputParameter
⚪ PackageCommandForMauiAppsShouldCallMSBuildIfWindows
⚪ PackageCommandForMauiAppsShouldCallMSBuildWithOutputParameterIfWindows
⚪ PackageCommandForReactNativeNpmAppsShouldCallMSBuild ("Npm")
⚪ PackageCommandForReactNativeNpmAppsShouldCallMSBuild ("Yarn")
⚪ PackageCommandForUWPAppsShouldCallMSBuildIfWindows
⚪ PackageCommandForUWPAppsShouldCallMSBuildWithOutputParameterIfWindows
⚪ PackageCommandForWinUIAppsShouldCallMSBuildIfWindows
⚪ PackageCommandForWinUIAppsShouldCallMSBuildWithOutputParameterIfWindows
⚪ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-1,["UWPProject"])
⚪ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-1,["WinUIProject"])
✅ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-6,["ElectronProject","Npm"])
✅ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-6,["ElectronProject","Yarn"])
✅ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-6,["FlutterProject"])
⚪ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-6,["MauiProject"])
✅ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-6,["ReactNativeProject","Npm"])
✅ PackageCommandShouldNotWorkIfNotWindowsOnSpecificPlatforms (-6,["ReactNativeProject","Yarn"])
✅ PackageCommandShouldUseDefaultDirectoryIfNoArgument

✅ MSStore.CLI.UnitTests.ProductTypeHelperTests

✅ Test_ProductTypeHelper_Solve_Packaged ("1")
✅ Test_ProductTypeHelper_Solve_Packaged ("12345678-1234-1234-1234-12345678901")
✅ Test_ProductTypeHelper_Solve_Packaged ("1234567890")
✅ Test_ProductTypeHelper_Solve_Unpackaged

✅ MSStore.CLI.UnitTests.ProjectConfiguratorFactoryTests

✅ ProjectConfiguratorFactoryFindsURLProperly
✅ ProjectConfiguratorFactoryFindsURLProperly
✅ ProjectConfiguratorFactoryFindsURLProperly
⚪ ProjectConfiguratorFactoryFindsURLProperly
✅ ProjectConfiguratorFactoryFindsURLProperly
✅ ProjectConfiguratorFactoryFindsURLProperly
✅ ProjectConfiguratorFactoryFindsURLProperly
✅ ProjectConfiguratorFactoryFindsURLProperly
⚪ ProjectConfiguratorFactoryFindsURLProperly
⚪ ProjectConfiguratorFactoryFindsURLProperly

✅ MSStore.CLI.UnitTests.ProjectConfiguratorTests

✅ ProjectConfiguratorFailsToParsePWAIfNotPublishAndNotOutput
✅ ProjectConfiguratorParserPWAShouldNotCallPartnerCenterAPIIfPublisherNameIsProvided
✅ ProjectConfiguratorParsesAlreadyConfiguredElectronNpmProject
✅ ProjectConfiguratorParsesAlreadyConfiguredElectronYarnProject
✅ ProjectConfiguratorParsesAlreadyConfiguredFlutterProject
✅ ProjectConfiguratorParsesAlreadyConfiguredReactNativeNpmProject
✅ ProjectConfiguratorParsesAlreadyConfiguredReactNativeYarnProject
✅ ProjectConfiguratorParsesElectronNpmProject
✅ ProjectConfiguratorParsesElectronYarnProject
✅ ProjectConfiguratorParsesFlutterProject
✅ ProjectConfiguratorParsesMauiProject
✅ ProjectConfiguratorParsesPWASuccessfullyIfOnCIIfPublish
✅ ProjectConfiguratorParsesPWASuccessfullyIfOutput
✅ ProjectConfiguratorParsesPWASuccessfullyIfPublish
✅ ProjectConfiguratorParsesReactNativeNpmProject
✅ ProjectConfiguratorParsesReactNativeYarnProject
⚪ ProjectConfiguratorParsesUWPProject
⚪ ProjectConfiguratorParsesWinUIProject

✅ MSStore.CLI.UnitTests.PublishCommandUnitTests

✅ PublishCommandForElectronAppsShouldCallElectron ("Npm")
✅ PublishCommandForElectronAppsShouldCallElectron ("Yarn")
✅ PublishCommandForFlutterAppsShouldCallFlutter
⚪ PublishCommandForMauiAppsShouldCallMSBuildIfWindows
✅ PublishCommandForMSIXAppsShouldSucceed
✅ PublishCommandForMSIXAppsWithNoCommitShouldNotCommit
✅ PublishCommandForReactNativeAppsShouldUploadAppxUpload ("Npm")
✅ PublishCommandForReactNativeAppsShouldUploadAppxUpload ("Yarn")
⚪ PublishCommandForUWPAppsShouldCallMSBuildIfWindows
⚪ PublishCommandForWinUIAppsShouldCallMSBuildIfWindows
✅ PublishCommandShouldUseDefaultDirectoryIfNoArgument

✅ MSStore.CLI.UnitTests.ReconfigureCommandUnitTests

✅ ReconfigureCommandShouldReturnZero
✅ ReconfigureCommandWithAllInfoAndCertPathShouldReturnZero
✅ ReconfigureCommandWithAllInfoAndCertThumbprintShouldReturnZero
✅ ReconfigureCommandWithAllInfoShouldReturnZero
✅ ReconfigureCommandWithCredentialsAndTenantShouldCallTokenManagerIfGraphIsDisabled
✅ ReconfigureCommandWithCredentialsAndTenantShouldNotCallTokenManagerIfGraphIsEnabled
✅ ReconfigureCommandWithCredentialsShouldReturnZero

✅ MSStore.CLI.UnitTests.SetPublisherDisplayNameCommandUnitTests

✅ InitCommandUsesPublisherDisplayNameFromSettings
✅ SetPublisherDisplayNameCommandShouldSaveSettings

✅ MSStore.CLI.UnitTests.SettingsCommandUnitTests

✅ SettingsCommandShouldSetTelemetrySettingToFalse
✅ SettingsCommandShouldSetTelemetrySettingToTrue
✅ SettingsCommandWithNoParametersShouldReturnZeroAndShowHelp

✅ MSStore.CLI.UnitTests.SubmissionCommandPackagedUnitTests

✅ PackagedSubmissionDeleteCommand
✅ PackagedSubmissionGetCommand
✅ PackagedSubmissionGetListingAssetsCommand
✅ PackagedSubmissionPollCommand
✅ PackagedSubmissionPublishCommand
✅ PackagedSubmissionStatusCommand
✅ PackagedSubmissionUpdateCommand
✅ PackagedSubmissionUpdateMetadataCommand
✅ SubmissionCommandWithNoParameter

✅ MSStore.CLI.UnitTests.SubmissionCommandUnpackagedUnitTests

✅ UnpackagedSubmissionDeleteCommand
✅ UnpackagedSubmissionGetCommand
✅ UnpackagedSubmissionGetListingAssetsCommand
✅ UnpackagedSubmissionPollCommand
✅ UnpackagedSubmissionPublishCommand
✅ UnpackagedSubmissionStatusCommand
✅ UnpackagedSubmissionUpdateCommand
✅ UnpackagedSubmissionUpdateMetadataCommand

✅ MSStore.CLI.UnitTests.TelemetryUnitTests

✅ EmptyCommandFirstRunShouldHavePrivacyLinkIfNotSignedIn
✅ EmptyCommandFirstRunShouldHavePrivacyLinkIfSignedIn
✅ TelemetryConfigurationLoadsAsync

✅ MSStore.CLI.UnitTests.VersionExtensionsUnitTests

✅ ToVersionStringTests (1,2,3,4,False,"1.2.3.4")
✅ ToVersionStringTests (1,2,3,4,True,"1.2.3")
✅ ToVersionStringTests (1,2,3,null,False,"1.2.3.0")
✅ ToVersionStringTests (1,2,3,null,True,"1.2.3")
✅ ToVersionStringTests (1,2,null,null,False,"1.2.0.0")
✅ ToVersionStringTests (1,2,null,null,True,"1.2.0")