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 18, 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✖️ 45s
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests-net8.0.trx 7✔️ 47s
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests-net8.0.trx 12✔️ 72s
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx 11✔️ 43s
CommunityToolkit.Aspire.Hosting.Bun.Tests-net8.0.trx 11✔️ 24s
CommunityToolkit.Aspire.Hosting.Deno.Tests-net8.0.trx 4✔️ 28s
CommunityToolkit.Aspire.Hosting.EventStore.Tests-net8.0.trx 19✔️ 114s
CommunityToolkit.Aspire.Hosting.Golang.Tests-net8.0.trx 2✔️ 39s
CommunityToolkit.Aspire.Hosting.Java.Tests-net8.0.trx 18✔️ 62s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests-net8.0.trx 16✔️ 72s
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests-net8.0.trx 12✔️ 70s
CommunityToolkit.Aspire.Hosting.Ollama.Tests-net8.0.trx 35✔️ 111s
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests-net8.0.trx 2✔️ 24s
CommunityToolkit.Aspire.Hosting.Rust.Tests-net8.0.trx 6✔️ 42s
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests-net8.0.trx 9✔️ 78s
CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests-net8.0.trx 9✔️ 21s
CommunityToolkit.Aspire.Meilisearch.Tests-net8.0.trx 31✔️ 8✖️ 20s
CommunityToolkit.Aspire.OllamaSharp.Tests-net8.0.trx 38✔️ 13✖️ 37s

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

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

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

✔️ 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 47s with 7 passed, 0 failed and 0 skipped.

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

✔️ 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 72s with 12 passed, 0 failed and 0 skipped.

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

✔️ 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 43s with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests.ResourceCreationTests 9✔️ 686ms
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 24s with 11 passed, 0 failed and 0 skipped.

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

✔️ 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 28s 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✔️ 371ms

✔️ 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 114s with 19 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AddEventStoreTests 2✔️ 445ms
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AppHostTests 4✔️ 4s
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStoreFunctionalTests 4✔️ 97s
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStorePublicApiTests 9✔️ 450ms

✔️ 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 39s with 2 passed, 0 failed and 0 skipped.

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

✔️ 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 62s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests 8✔️ 545ms
CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests 8✔️ 525ms
CommunityToolkit.Aspire.Hosting.Java.Tests.JavaHostingComponentTests 2✔️ 30s

✔️ 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 72s with 16 passed, 0 failed and 0 skipped.

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

✔️ 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 70s with 12 passed, 0 failed and 0 skipped.

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

✔️ 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 111s 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✔️ 85s

✔️ 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 24s with 2 passed, 0 failed and 0 skipped.

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

✔️ 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 42s with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests 2✔️ 337ms
CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests 1✔️ 15s
CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests 3✔️ 187ms

✔️ 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 78s with 9 passed, 0 failed and 0 skipped.

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

✔️ 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 21s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests.ConfigurationTests 1✔️ 13ms
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 20s with 31 passed, 0 failed and 8 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest 6✔️ 349ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests 3✔️ 16ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests 16✔️ 8✖️ 869ms
CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests 6✔️ 68ms

✔️ 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 37s with 38 passed, 0 failed and 13 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests 4✔️ 19ms
CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests 11✔️ 13✖️ 81ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests 9✔️ 241ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests 7✔️ 196ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests 7✔️ 255ms

✔️ 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)