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 EventStore Hosting and Client integrations #277

Merged
merged 30 commits into from
Nov 29, 2024

Update EventStoreFunctionalTests.cs

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

Add EventStore Hosting and Client integrations #277

Update EventStoreFunctionalTests.cs
f0d33f8
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET Test report windows-latest succeeded Nov 28, 2024 in 1s

225 passed, 0 failed and 29 skipped

Tests passed successfully

Report Passed Failed Skipped Time
CommunityToolkit.Aspire.EventStore.Tests-net8.0.trx 27✔️ 8✖️ 36s
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests-net8.0.trx 4✔️ 12s
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests-net8.0.trx 10✔️ 15s
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx 11✔️ 79s
CommunityToolkit.Aspire.Hosting.Bun.Tests-net8.0.trx 11✔️ 18s
CommunityToolkit.Aspire.Hosting.Deno.Tests-net8.0.trx 4✔️ 26s
CommunityToolkit.Aspire.Hosting.EventStore.Tests-net8.0.trx 11✔️ 15s
CommunityToolkit.Aspire.Hosting.Golang.Tests-net8.0.trx 2✔️ 88s
CommunityToolkit.Aspire.Hosting.Java.Tests-net8.0.trx 16✔️ 23s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests-net8.0.trx 10✔️ 15s
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests-net8.0.trx 12✔️ 62s
CommunityToolkit.Aspire.Hosting.Ollama.Tests-net8.0.trx 31✔️ 23s
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests-net8.0.trx 2✔️ 25s
CommunityToolkit.Aspire.Hosting.Rust.Tests-net8.0.trx 6✔️ 76s
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests-net8.0.trx 3✔️ 34s
CommunityToolkit.Aspire.Meilisearch.Tests-net8.0.trx 29✔️ 8✖️ 23s
CommunityToolkit.Aspire.OllamaSharp.Tests-net8.0.trx 36✔️ 13✖️ 16s

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

35 tests were completed in 36s with 27 passed, 0 failed and 8 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.EventStore.Tests.AspireEventStoreClientExtensionsTest 1✔️ 191ms
CommunityToolkit.Aspire.EventStore.Tests.ConfigurationTests 4✔️ 5ms
CommunityToolkit.Aspire.EventStore.Tests.ConformanceTests 16✔️ 8✖️ 25s
CommunityToolkit.Aspire.EventStore.Tests.EventStoreClientPublicApiTests 6✔️ 17ms

✔️ CommunityToolkit.Aspire.EventStore.Tests.AspireEventStoreClientExtensionsTest

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.ContainerResourceCreationTests 4✔️ 143ms

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

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

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

10 tests were completed in 15s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests.ContainerResourceCreationTests 10✔️ 654ms

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

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

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

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

✔️ 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 26s 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✔️ 219ms

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

✔️ ApiResourceStartsAndRespondsOk
✔️ ResourceStartsAndRespondsOk

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

✔️ DenoAppUsesDenoCommand
✔️ DenoTaskUsesDenoCommand

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AddEventStoreTests 2✔️ 183ms
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStorePublicApiTests 9✔️ 175ms

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

✔️ AddEventStoreContainerWithDefaultsAddsAnnotationMetadata
✔️ EventStoreCreatesConnectionString

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

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

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

✔️ DefaultGolangApp

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

✔️ ResourceStartsAndRespondsOk

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests 8✔️ 298ms
CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests 8✔️ 342ms

✔️ 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.Meilisearch.Tests-net8.0.trx

10 tests were completed in 15s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AddMeilisearchTests 3✔️ 179ms
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchPublicApiTests 7✔️ 84ms

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

✔️ AddMeilisearchContainerAddsAnnotationMetadata
✔️ AddMeilisearchContainerWithDefaultsAddsAnnotationMetadata
✔️ MeilisearchCreatesConnectionString

✔️ 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 62s 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✔️ 531ms

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

31 tests were completed in 23s with 31 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Ollama.Tests.AddOllamaTests 31✔️ 755ms

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

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.AppHostTests 1✔️ 3s
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests.ResourceCreationTests 1✔️ 214ms

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests 2✔️ 154ms
CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests 1✔️ 60s
CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests 3✔️ 67ms

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlProjectTests 3✔️ 18s

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

✔️ AddSqlProject_WithExplicitPath
✔️ AddSqlProject_WithProjectMetadata
✔️ PublishTo_AddsRequiredServices

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest 4✔️ 161ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests 3✔️ 5ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests 16✔️ 8✖️ 9s
CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests 6✔️ 20ms

✔️ CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest

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

49 tests were completed in 16s with 36 passed, 0 failed and 13 skipped.

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests 4✔️ 9ms
CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests 11✔️ 13✖️ 2s
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests 7✔️ 916ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests 7✔️ 7ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests 7✔️ 915ms

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

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