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 support for deploying dacpacs from referenced NuGet packages #334

Merged
merged 14 commits into from
Dec 30, 2024

Resolve PR comments

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

Add support for deploying dacpacs from referenced NuGet packages #334

Resolve PR comments
4610d83
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET Test report ubuntu-latest succeeded Dec 29, 2024 in 0s

271 passed, 0 failed and 29 skipped

Tests passed successfully

Report Passed Failed Skipped Time
CommunityToolkit.Aspire.EventStore.Tests-net8.0.trx 29✔️ 8✖️ 48s
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests-net8.0.trx 7✔️ 67s
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests-net8.0.trx 12✔️ 78s
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx 11✔️ 49s
CommunityToolkit.Aspire.Hosting.Bun.Tests-net8.0.trx 11✔️ 49s
CommunityToolkit.Aspire.Hosting.Deno.Tests-net8.0.trx 4✔️ 29s
CommunityToolkit.Aspire.Hosting.EventStore.Tests-net8.0.trx 19✔️ 154s
CommunityToolkit.Aspire.Hosting.Golang.Tests-net8.0.trx 2✔️ 71s
CommunityToolkit.Aspire.Hosting.Java.Tests-net8.0.trx 18✔️ 52s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests-net8.0.trx 16✔️ 87s
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests-net8.0.trx 12✔️ 74s
CommunityToolkit.Aspire.Hosting.Ollama.Tests-net8.0.trx 35✔️ 117s
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests-net8.0.trx 2✔️ 29s
CommunityToolkit.Aspire.Hosting.Rust.Tests-net8.0.trx 6✔️ 161s
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests-net8.0.trx 9✔️ 79s
CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests-net8.0.trx 9✔️ 34s
CommunityToolkit.Aspire.Meilisearch.Tests-net8.0.trx 31✔️ 8✖️ 28s
CommunityToolkit.Aspire.OllamaSharp.Tests-net8.0.trx 38✔️ 13✖️ 53s

✔️ CommunityToolkit.Aspire.EventStore.Tests-net8.0.trx

37 tests were completed in 48s with 29 passed, 0 failed and 8 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.EventStore.Tests.AspireEventStoreClientExtensionsTest 3✔️ 2s
CommunityToolkit.Aspire.EventStore.Tests.ConfigurationTests 4✔️ 9ms
CommunityToolkit.Aspire.EventStore.Tests.ConformanceTests 16✔️ 8✖️ 2s
CommunityToolkit.Aspire.EventStore.Tests.EventStoreClientPublicApiTests 6✔️ 83ms

✔️ CommunityToolkit.Aspire.EventStore.Tests.AspireEventStoreClientExtensionsTest

✔️ AddEventStoreClient_HealthCheckShouldBeRegisteredWhenEnabled(useKeyed: False)
✔️ AddEventStoreClient_HealthCheckShouldBeRegisteredWhenEnabled(useKeyed: True)
✔️ CanAddMultipleKeyedServices

✔️ CommunityToolkit.Aspire.EventStore.Tests.ConfigurationTests

✔️ ConnectionStringIsNullByDefault
✔️ DisableTracingIsFalseByDefault
✔️ HealthChecksEnabledByDefault
✔️ HealthCheckTimeoutNullByDefault

✔️ CommunityToolkit.Aspire.EventStore.Tests.ConformanceTests

✔️ CanRegisterMultipleInstancesUsingDifferentKeys
✖️ ConfigurationSchemaInvalidJsonConfigTest
✖️ ConfigurationSchemaValidJsonConfigTest
✔️ ConnectionInformationIsDelayValidated(useKey: False)
✔️ ConnectionInformationIsDelayValidated(useKey: True)
✔️ EachKeyedComponentRegistersItsOwnHealthCheck
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableHealthChecks
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableTracing
✔️ HealthCheckReportsExpectedStatus(key: "key")
✔️ HealthCheckReportsExpectedStatus(key: null)
✔️ HealthChecksRegistersHealthCheckService(enabled: False)
✔️ HealthChecksRegistersHealthCheckService(enabled: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: True)
✖️ MetricsRegistersMeterProvider(enabled: False)
✖️ MetricsRegistersMeterProvider(enabled: True)
✔️ OptionsTypeIsSealed
✔️ ServiceLifetimeIsAsExpected(useKey: False)
✔️ ServiceLifetimeIsAsExpected(useKey: True)
✖️ TracingRegistersTraceProvider(enabled: False)
✖️ TracingRegistersTraceProvider(enabled: True)
✔️ WhenKeyedRegistrationIsUsedThenItsImpossibleToResolveWithoutKey

✔️ CommunityToolkit.Aspire.EventStore.Tests.EventStoreClientPublicApiTests

✔️ AddEventStoreClientShouldThrowWhenBuilderIsNull
✔️ AddEventStoreClientShouldThrowWhenNameIsEmpty
✔️ AddEventStoreClientShouldThrowWhenNameIsNull
✔️ AddKeyedEventStoreClientShouldThrowWhenBuilderIsNull
✔️ AddKeyedEventStoreClientShouldThrowWhenNameIsEmpty
✔️ AddKeyedEventStoreClientShouldThrowWhenNameIsNull

✔️ CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests-net8.0.trx

7 tests were completed in 67s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.AppHostTests 3✔️ 4s
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.ContainerResourceCreationTests 4✔️ 554ms

✔️ CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.AppHostTests

✔️ ReplyShouldBeReceived
✔️ ResourceStartsAndRespondsOk
✔️ WhenMessageIsSendItShouldBeReceivedByConsumer

✔️ CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.ContainerResourceCreationTests

✔️ AddActiveMqApiBuilderBuilderShouldNotBeNull
✔️ AddActiveMqApiBuilderContainerDetailsSetOnResource
✔️ AddActiveMqApiBuilderNameShouldNotBeNullOrWhiteSpace
✔️ AddActiveMqApiBuilderSchemeShouldNotBeNullOrWhiteSpace

✔️ CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests-net8.0.trx

12 tests were completed in 78s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.AppHostTests 2✔️ 16s
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.ContainerResourceCreationTests 10✔️ 559ms

✔️ CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.AppHostTests

✔️ CanGetSeries
✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.ContainerResourceCreationTests

✔️ AddDataAPIBuilderBuilderShouldNotBeNull
✔️ AddDataAPIBuilderContainer_DefaultFile_NoEx
✔️ AddDataAPIBuilderContainer_InvalidFile_ThrowsEx
✔️ AddDataAPIBuilderContainer_InvalidFiles_NoEx
✔️ AddDataAPIBuilderContainer_PortOnly_NoEx
✔️ AddDataAPIBuilderContainer_ValidFile_NoEx
✔️ AddDataAPIBuilderContainer_ValidFiles_NoEx
✔️ AddDataAPIBuilderContainer_ValidFileWithPort_NoEx
✔️ AddDataAPIBuilderContainerDetailsSetOnResource
✔️ AddDataApiBuilderNameShouldNotBeNullOrWhiteSpace

✔️ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx

11 tests were completed in 49s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests 9✔️ 755ms
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests 2✔️ 10s

✔️ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests

✔️ ApiResource_Can_Be_Set
✔️ ApiResourceWillBeWaitedFor
✔️ AppResource_Can_Be_Set
✔️ AppResourceWillBeWaitedFor
✔️ Port_Will_Be_An_Arg
✔️ Start_Will_Be_An_Arg
✔️ SwaResourceHasHealthCheck
✔️ TargetPort_Can_Be_Overridden
✔️ TargetPort_Defaults_to_4280

✔️ CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.SwaHostingComponentTests

✔️ CanAccessApiSuccessfully
✔️ CanAccessFrontendSuccessfully

✔️ CommunityToolkit.Aspire.Hosting.Bun.Tests-net8.0.trx

11 tests were completed in 49s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Bun.Tests.AddBunAppTests 10✔️ 611ms
CommunityToolkit.Aspire.Hosting.Bun.Tests.AppHostTests 1✔️ 1s

✔️ CommunityToolkit.Aspire.Hosting.Bun.Tests.AddBunAppTests

✔️ AddBunEmptyEntryPointThrows
✔️ AddBunEmptyNameThrows
✔️ AddBunNullBuilderThrows
✔️ AddBunNullEntryPointThrows
✔️ AddBunNullNameThrows
✔️ BunAppDefaultArgs
✔️ BunAppUsesBunCommand
✔️ BunAppWatchArgs
✔️ BunAppWithCustomEntryPoint
✔️ BunAppWithWorkingDirectory

✔️ CommunityToolkit.Aspire.Hosting.Bun.Tests.AppHostTests

✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Deno.Tests-net8.0.trx

4 tests were completed in 29s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Deno.Tests.AppHostTests 2✔️ 2s
CommunityToolkit.Aspire.Hosting.Deno.Tests.ResourceCreationTests 2✔️ 520ms

✔️ CommunityToolkit.Aspire.Hosting.Deno.Tests.AppHostTests

✔️ ApiResourceStartsAndRespondsOk
✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Deno.Tests.ResourceCreationTests

✔️ DenoAppUsesDenoCommand
✔️ DenoTaskUsesDenoCommand

✔️ CommunityToolkit.Aspire.Hosting.EventStore.Tests-net8.0.trx

19 tests were completed in 154s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AddEventStoreTests 2✔️ 611ms
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AppHostTests 4✔️ 7s
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStoreFunctionalTests 4✔️ 128s
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStorePublicApiTests 9✔️ 591ms

✔️ CommunityToolkit.Aspire.Hosting.EventStore.Tests.AddEventStoreTests

✔️ AddEventStoreContainerWithDefaultsAddsAnnotationMetadata
✔️ EventStoreCreatesConnectionString

✔️ CommunityToolkit.Aspire.Hosting.EventStore.Tests.AppHostTests

✔️ ApiServiceCreateAccount
✔️ ApiServiceCreateAccountAndDeposit
✔️ ApiServiceCreateAccountAndWithdraw
✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStoreFunctionalTests

✔️ VerifyEventStoreResource
✔️ VerifyWaitForEventStoreBlocksDependentResources
✔️ WithDataShouldPersistStateBetweenUsages(useVolume: False)
✔️ WithDataShouldPersistStateBetweenUsages(useVolume: True)

✔️ CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStorePublicApiTests

✔️ AddEventStoreShouldThrowWhenBuilderIsNull
✔️ AddEventStoreShouldThrowWhenNameIsNull
✔️ EventStoreResourceCtorShouldThrowWhenNameIsNull
✔️ WithDataBindMountShouldAddMountAnnotation
✔️ WithDataBindMountShouldThrowWhenSourceIsNull
✔️ WithDataShouldThrowWhenBuilderIsNull(useVolume: False)
✔️ WithDataShouldThrowWhenBuilderIsNull(useVolume: True)
✔️ WithDataVolumeShouldAddMountAnnotation
✔️ WithNamedDataVolumeShouldAddMountAnnotation

✔️ CommunityToolkit.Aspire.Hosting.Golang.Tests-net8.0.trx

2 tests were completed in 71s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Golang.Extensions.Tests.ResourceCreationTests 1✔️ 359ms
CommunityToolkit.Aspire.Hosting.Golang.Tests.AppHostTests 1✔️ 44s

✔️ CommunityToolkit.Aspire.Hosting.Golang.Extensions.Tests.ResourceCreationTests

✔️ DefaultGolangApp

✔️ CommunityToolkit.Aspire.Hosting.Golang.Tests.AppHostTests

✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Java.Tests-net8.0.trx

18 tests were completed in 52s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests 8✔️ 478ms
CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests 8✔️ 476ms
CommunityToolkit.Aspire.Hosting.Java.Tests.JavaHostingComponentTests 2✔️ 28s

✔️ CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests

✔️ AddJavaAppBuilderShouldNotBeNull
✔️ AddJavaAppContainerDetailsSetOnResource
✔️ AddJavaAppContainerImageNameShouldNotBeNullOrWhiteSpace
✔️ AddJavaAppContainerResourceOptionsShouldNotBeNull
✔️ AddJavaAppNameShouldNotBeNullOrWhiteSpace
✔️ AddSpringAppBuilderShouldNotBeNull
✔️ AddSpringAppContainerResourceOptionsShouldNotBeNull
✔️ AddSpringAppNameShouldNotBeNullOrWhiteSpace

✔️ CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests

✔️ AddJavaAppBuilderShouldNotBeNull
✔️ AddJavaAppContainerDetailsSetOnResource
✔️ AddJavaAppExecutableResourceOptionsShouldNotBeNull
✔️ AddJavaAppNameShouldNotBeNullOrWhiteSpace
✔️ AddJavaAppWorkingDirectoryShouldNotBeNullOrWhiteSpace
✔️ AddSpringAppBuilderShouldNotBeNull
✔️ AddSpringAppContainerResourceOptionsShouldNotBeNull
✔️ AddSpringAppNameShouldNotBeNullOrWhiteSpace

✔️ CommunityToolkit.Aspire.Hosting.Java.Tests.JavaHostingComponentTests

✔️ AppResourceWillRespondWithOk(resourceName: "containerapp")
✔️ AppResourceWillRespondWithOk(resourceName: "executableapp")

✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests-net8.0.trx

16 tests were completed in 87s with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AddMeilisearchTests 3✔️ 865ms
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AppHostTests 2✔️ 5s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchFunctionalTests 4✔️ 63s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchPublicApiTests 7✔️ 371ms

✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AddMeilisearchTests

✔️ AddMeilisearchContainerAddsAnnotationMetadata
✔️ AddMeilisearchContainerWithDefaultsAddsAnnotationMetadata
✔️ MeilisearchCreatesConnectionString

✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AppHostTests

✔️ ApiServiceCreateData
✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchFunctionalTests

✔️ VerifyMeilisearchResource
✔️ VerifyWaitForOnMeilisearchBlocksDependentResources
✔️ WithDataShouldPersistStateBetweenUsages(useVolume: False)
✔️ WithDataShouldPersistStateBetweenUsages(useVolume: True)

✔️ CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchPublicApiTests

✔️ AddMeilisearchContainerShouldThrowWhenBuilderIsNull
✔️ AddMeilisearchContainerShouldThrowWhenNameIsNull
✔️ CtorMeilisearchResourceShouldThrowWhenMasterKeyIsNull
✔️ CtorMeilisearchResourceShouldThrowWhenNameIsNull
✔️ WithDataBindMountShouldThrowWhenSourceIsNull
✔️ WithDataShouldThrowWhenBuilderIsNull(useVolume: False)
✔️ WithDataShouldThrowWhenBuilderIsNull(useVolume: True)

✔️ CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests-net8.0.trx

12 tests were completed in 74s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.AppHostTests 3✔️ 4s
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.ResourceCreationTests 9✔️ 670ms

✔️ CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.AppHostTests

✔️ ResourceStartsAndRespondsOk(appName: "pnpm-demo")
✔️ ResourceStartsAndRespondsOk(appName: "vite-demo")
✔️ ResourceStartsAndRespondsOk(appName: "yarn-demo")

✔️ CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests.ResourceCreationTests

✔️ DefaultViteAppUsesNpm
✔️ PnpmAppUsesPnpmCommand
✔️ ViteAppHasExposedExternalHttpEndpoints
✔️ ViteAppHasExposedHttpEndpoints
✔️ ViteAppUsesSpecifiedPackageManager(packageManager: "npm")
✔️ ViteAppUsesSpecifiedPackageManager(packageManager: "pnpm")
✔️ ViteAppUsesSpecifiedPackageManager(packageManager: "yarn")
✔️ ViteAppUsesSpecifiedWorkingDirectory
✔️ YarnAppUsesYarnCommand

✔️ CommunityToolkit.Aspire.Hosting.Ollama.Tests-net8.0.trx

35 tests were completed in 117s with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Ollama.Tests.AddOllamaTests 33✔️ 1s
CommunityToolkit.Aspire.Hosting.Ollama.Tests.AppHostTests 2✔️ 86s

✔️ CommunityToolkit.Aspire.Hosting.Ollama.Tests.AddOllamaTests

✔️ CanPersistVolumeOfOpenWebUI(volumeName: "volumeName")
✔️ CanPersistVolumeOfOpenWebUI(volumeName: null)
✔️ CanSetMultpleModels
✔️ CorrectTargetPathOnVolumeMount(volumeName: "data")
✔️ CorrectTargetPathOnVolumeMount(volumeName: null)
✔️ DistributedApplicationBuilderCannotBeNull
✔️ HuggingFaceModel(modelName: "hf.co/bartowski/Llama-3.2-1B-Instruct-GGUF:IQ4_XS")
✔️ HuggingFaceModel(modelName: "hf.co/bartowski/Llama-3.2-1B-Instruct-GGUF:IQ4_XS@"···)
✔️ HuggingFaceModel(modelName: "huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGU"···)
✔️ HuggingFaceModel(modelName: "huggingface.co/bartowski/Llama-3.2-1B-Instruct-GGU"···)
✔️ HuggingFaceModelWithoutDomainPrefixHasItAdded
✔️ ModelNameCannotBeOmmitted
✔️ NoDataVolumeNameGeneratesOne
✔️ OllamaModelResourceCommandsUpdateState(commandType: "Delete")
✔️ OllamaModelResourceCommandsUpdateState(commandType: "ModelInfo")
✔️ OllamaModelResourceCommandsUpdateState(commandType: "Redownload")
✔️ OllamaModelResourceCommandsUpdateState(commandType: "Stop")
✔️ OllamaModelResourceRegistersCustomHealthCheck
✔️ OllamaModelResourceRegistersResourceCommandAnnotations
✔️ OllamaRegistersHttpHealthCheck
✔️ OllamaRegistrationContainsResourceCommandAnnotations
✔️ OllamaResourceCommandsUpdateState(commandType: "ListAllModels")
✔️ OllamaResourceCommandsUpdateState(commandType: "ListRunningModels")
✔️ OpenWebUIConfigured
✔️ ReadOnlyVolumeMount(isReadOnly: False)
✔️ ReadOnlyVolumeMount(isReadOnly: True)
✔️ ResourceNameCannotBeOmitted
✔️ SpecifiedDataVolumeNameIsUsed
✔️ VerifyCustomModel
✔️ VerifyCustomPort
✔️ VerifyDefaultPort
✔️ WithGPUSupport(vendor: AMD, expectedArg: "--device", expectedValue: "/dev/kfd")
✔️ WithGPUSupport(vendor: Nvidia, expectedArg: "--gpus", expectedValue: "all")

✔️ CommunityToolkit.Aspire.Hosting.Ollama.Tests.AppHostTests

✔️ OllamaListsAvailableModels
✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests-net8.0.trx

2 tests were completed in 29s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.AppHostTests 1✔️ 993ms
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.ResourceCreationTests 1✔️ 334ms

✔️ CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.AppHostTests

✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.ResourceCreationTests

✔️ DefaultUvicornApp

✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests-net8.0.trx

6 tests were completed in 161s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests 2✔️ 347ms
CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests 1✔️ 139s
CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests 3✔️ 157ms

✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests

✔️ AddRustAppAddsAnnotationMetadata
✔️ AddRustAppWithArgsAddsAnnotationMetadata

✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests

✔️ ResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests

✔️ AddRustAppShouldThrowWhenBuilderIsNull
✔️ AddRustAppShouldThrowWhenNameIsNull
✔️ AddRustAppShouldThrowWorkingDirectoryIsNull

✔️ CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests-net8.0.trx

9 tests were completed in 79s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlPackageTests 2✔️ 398ms
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlProjectTests 5✔️ 2s
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AppHostTests 2✔️ 52s

✔️ CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlPackageTests

✔️ AddSqlPackage_WithExplicitRelativePath
✔️ AddSqlPackage_WithPackageMetadata

✔️ CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlProjectTests

✔️ AddSqlProject_WithDeploymentOptions
✔️ AddSqlProject_WithExplicitPath
✔️ AddSqlProject_WithoutDeploymentOptions
✔️ AddSqlProject_WithProjectMetadata
✔️ WithReference_AddsRequiredServices

✔️ CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AppHostTests

✔️ PackageBasedResourceStartsAndRespondsOk
✔️ ProjectBasedResourceStartsAndRespondsOk

✔️ CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests-net8.0.trx

9 tests were completed in 34s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests.ConfigurationTests 1✔️ 28ms
CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests.MassTransitRabbitMqExtensionsTest 8✔️ 1s

✔️ CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests.ConfigurationTests

✔️ DisableTelemetryIsFalseByDefault

✔️ CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests.MassTransitRabbitMqExtensionsTest

✔️ AddMassTransitRabbitMq_ShouldThrowExceptionForMissingConnectionString
✔️ AddMassTransitRabbitMq_ShouldThrowWhenBuilderIsNull
✔️ AddMassTransitRabbitMq_ShouldThrowWhenNameIsEmpty
✔️ AddMassTransitRabbitMq_ShouldThrowWhenNameIsNull
✔️ AddMassTransitRabbitMq_TelemetryShouldBeRegisteredWhenEnabled(disableTelemetry: False)
✔️ AddMassTransitRabbitMq_TelemetryShouldBeRegisteredWhenEnabled(disableTelemetry: True)
✔️ CanAddMultipleRabbitMqClients
✔️ CanConfigureConsumersAndSagas

✔️ CommunityToolkit.Aspire.Meilisearch.Tests-net8.0.trx

39 tests were completed in 28s with 31 passed, 0 failed and 8 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest 6✔️ 136ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests 3✔️ 9ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests 16✔️ 8✖️ 278ms
CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests 6✔️ 62ms

✔️ CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest

✔️ AddMeilisearchClient_HealthCheckShouldBeRegisteredWhenEnabled(useKeyed: False)
✔️ AddMeilisearchClient_HealthCheckShouldBeRegisteredWhenEnabled(useKeyed: True)
✔️ AddMeilisearchClient_HealthCheckShouldNotBeRegisteredWhenDisabled(useKeyed: False)
✔️ AddMeilisearchClient_HealthCheckShouldNotBeRegisteredWhenDisabled(useKeyed: True)
✔️ CanAddClientFromEncodedConnectionString
✔️ CanAddMultipleKeyedServices

✔️ CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests

✔️ EndpointIsNullByDefault
✔️ HealthChecksEnabledByDefault
✔️ MasterKeyIsNullByDefault

✔️ CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests

✔️ CanRegisterMultipleInstancesUsingDifferentKeys
✖️ ConfigurationSchemaInvalidJsonConfigTest
✖️ ConfigurationSchemaValidJsonConfigTest
✔️ ConnectionInformationIsDelayValidated(useKey: False)
✔️ ConnectionInformationIsDelayValidated(useKey: True)
✔️ EachKeyedComponentRegistersItsOwnHealthCheck
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableHealthChecks
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableTracing
✔️ HealthCheckReportsExpectedStatus(key: "key")
✔️ HealthCheckReportsExpectedStatus(key: null)
✔️ HealthChecksRegistersHealthCheckService(enabled: False)
✔️ HealthChecksRegistersHealthCheckService(enabled: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: True)
✖️ MetricsRegistersMeterProvider(enabled: False)
✖️ MetricsRegistersMeterProvider(enabled: True)
✔️ OptionsTypeIsSealed
✔️ ServiceLifetimeIsAsExpected(useKey: False)
✔️ ServiceLifetimeIsAsExpected(useKey: True)
✖️ TracingRegistersTraceProvider(enabled: False)
✖️ TracingRegistersTraceProvider(enabled: True)
✔️ WhenKeyedRegistrationIsUsedThenItsImpossibleToResolveWithoutKey

✔️ CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests

✔️ AddKeyedMeilisearchClientShouldThrowWhenBuilderIsNull
✔️ AddKeyedMeilisearchClientShouldThrowWhenNameIsEmpty
✔️ AddKeyedMeilisearchClientShouldThrowWhenNameIsNull
✔️ AddMeilisearchClientShouldThrowWhenBuilderIsNull
✔️ AddMeilisearchClientShouldThrowWhenNameIsEmpty
✔️ AddMeilisearchClientShouldThrowWhenNameIsNull

✔️ CommunityToolkit.Aspire.OllamaSharp.Tests-net8.0.trx

51 tests were completed in 53s with 38 passed, 0 failed and 13 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests 4✔️ 41ms
CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests 11✔️ 13✖️ 248ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests 9✔️ 237ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests 7✔️ 320ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests 7✔️ 336ms

✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests

✔️ EndpointIsNullByDefault
✔️ HealthChecksEnabledByDefault
✔️ ModelsIsEmptyByDefault
✔️ SelectedModelIsNullByDefault

✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests

✔️ CanRegisterMultipleInstancesUsingDifferentKeys
✖️ ConfigurationSchemaInvalidJsonConfigTest
✖️ ConfigurationSchemaValidJsonConfigTest
✔️ ConnectionInformationIsDelayValidated(useKey: False)
✔️ ConnectionInformationIsDelayValidated(useKey: True)
✖️ EachKeyedComponentRegistersItsOwnHealthCheck
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableHealthChecks
✖️ FavorsNamedConfigurationOverTopLevelConfigurationWhenBothProvided_DisableTracing
✖️ HealthCheckReportsExpectedStatus(key: "key")
✖️ HealthCheckReportsExpectedStatus(key: null)
✖️ HealthChecksRegistersHealthCheckService(enabled: False)
✖️ HealthChecksRegistersHealthCheckService(enabled: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: False, useKey: True)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: False)
✔️ LoggerFactoryIsUsedByRegisteredClient(registerAfterLoggerFactory: True, useKey: True)
✖️ MetricsRegistersMeterProvider(enabled: False)
✖️ MetricsRegistersMeterProvider(enabled: True)
✔️ OptionsTypeIsSealed
✔️ ServiceLifetimeIsAsExpected(useKey: False)
✔️ ServiceLifetimeIsAsExpected(useKey: True)
✖️ TracingRegistersTraceProvider(enabled: False)
✖️ TracingRegistersTraceProvider(enabled: True)
✔️ WhenKeyedRegistrationIsUsedThenItsImpossibleToResolveWithoutKey

✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests

✔️ CanSetConnectionStringInCode(useKeyed: False)
✔️ CanSetConnectionStringInCode(useKeyed: True)
✔️ CanSetMultipleKeyedClients
✔️ ConnectionStringWinsOverConfigSection(useKeyed: False)
✔️ ConnectionStringWinsOverConfigSection(useKeyed: True)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: False)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: True)
✔️ RegisteringChatClientAndEmbeddingGeneratorResultsInMultipleOllamaApiClients
✔️ RegisteringChatClientAndEmbeddingGeneratorReturnsCorrectModelForServices

✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests

✔️ CanSetConnectionStringInCode(useKeyed: False)
✔️ CanSetConnectionStringInCode(useKeyed: True)
✔️ CanSetMultipleKeyedClients
✔️ ConnectionStringWinsOverConfigSection(useKeyed: False)
✔️ ConnectionStringWinsOverConfigSection(useKeyed: True)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: False)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: True)

✔️ CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests

✔️ CanSetConnectionStringInCode(useKeyed: False)
✔️ CanSetConnectionStringInCode(useKeyed: True)
✔️ CanSetMultipleKeyedClients
✔️ ConnectionStringWinsOverConfigSection(useKeyed: False)
✔️ ConnectionStringWinsOverConfigSection(useKeyed: True)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: False)
✔️ ReadsFromConnectionStringCorrectly(useKeyed: True)