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

Java app build extension #348

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Adding the ability to do a maven build in the app host

0744576
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Java app build extension #348

Adding the ability to do a maven build in the app host
0744576
Select commit
Loading
Failed to load commit list.
GitHub Actions / .NET Test report ubuntu-latest succeeded Dec 24, 2024 in 1s

268 passed, 0 failed and 29 skipped

Tests passed successfully

Report Passed Failed Skipped Time
CommunityToolkit.Aspire.EventStore.Tests-net8.0.trx 29✔️ 8✖️ 37s
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests-net8.0.trx 7✔️ 47s
CommunityToolkit.Aspire.Hosting.Azure.DataApiBuilder.Tests-net8.0.trx 12✔️ 81s
CommunityToolkit.Aspire.Hosting.Azure.StaticWebApps.Tests-net8.0.trx 11✔️ 46s
CommunityToolkit.Aspire.Hosting.Bun.Tests-net8.0.trx 11✔️ 22s
CommunityToolkit.Aspire.Hosting.Deno.Tests-net8.0.trx 4✔️ 32s
CommunityToolkit.Aspire.Hosting.EventStore.Tests-net8.0.trx 19✔️ 106s
CommunityToolkit.Aspire.Hosting.Golang.Tests-net8.0.trx 2✔️ 85s
CommunityToolkit.Aspire.Hosting.Java.Tests-net8.0.trx 18✔️ 70s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests-net8.0.trx 16✔️ 87s
CommunityToolkit.Aspire.Hosting.NodeJS.Extensions.Tests-net8.0.trx 12✔️ 78s
CommunityToolkit.Aspire.Hosting.Ollama.Tests-net8.0.trx 35✔️ 118s
CommunityToolkit.Aspire.Hosting.Python.Extensions.Tests-net8.0.trx 2✔️ 22s
CommunityToolkit.Aspire.Hosting.Rust.Tests-net8.0.trx 6✔️ 41s
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests-net8.0.trx 6✔️ 65s
CommunityToolkit.Aspire.MassTransit.RabbitMQ.Tests-net8.0.trx 9✔️ 18s
CommunityToolkit.Aspire.Meilisearch.Tests-net8.0.trx 31✔️ 8✖️ 37s
CommunityToolkit.Aspire.OllamaSharp.Tests-net8.0.trx 38✔️ 13✖️ 34s

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.EventStore.Tests.AspireEventStoreClientExtensionsTest 3✔️ 294ms
CommunityToolkit.Aspire.EventStore.Tests.ConfigurationTests 4✔️ 2ms
CommunityToolkit.Aspire.EventStore.Tests.ConformanceTests 16✔️ 8✖️ 1s
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✔️ 3s
CommunityToolkit.Aspire.Hosting.ActiveMQ.Tests.ContainerResourceCreationTests 4✔️ 315ms

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

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

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

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

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

✔️ 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 32s 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✔️ 384ms

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AddEventStoreTests 2✔️ 446ms
CommunityToolkit.Aspire.Hosting.EventStore.Tests.AppHostTests 4✔️ 4s
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStoreFunctionalTests 4✔️ 90s
CommunityToolkit.Aspire.Hosting.EventStore.Tests.EventStorePublicApiTests 9✔️ 475ms

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

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Java.Tests.ContainerResourceCreationTests 8✔️ 586ms
CommunityToolkit.Aspire.Hosting.Java.Tests.ExecutableResourceCreationTests 8✔️ 589ms
CommunityToolkit.Aspire.Hosting.Java.Tests.JavaHostingComponentTests 2✔️ 25s

✔️ 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✔️ 798ms
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.AppHostTests 2✔️ 11s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchFunctionalTests 4✔️ 67s
CommunityToolkit.Aspire.Hosting.Meilisearch.Tests.MeilisearchPublicApiTests 7✔️ 277ms

✔️ 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 78s 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✔️ 721ms

✔️ 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 118s 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✔️ 91s

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

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.Rust.Tests.AddRustAppTests 2✔️ 373ms
CommunityToolkit.Aspire.Hosting.Rust.Tests.AppHostTests 1✔️ 19s
CommunityToolkit.Aspire.Hosting.Rust.Tests.RustAppPublicApiTests 3✔️ 189ms

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AddSqlProjectTests 5✔️ 3s
CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects.Tests.AppHostTests 1✔️ 38s

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

✔️ AddSqlProject_WithDeploymentOptions
✔️ AddSqlProject_WithExplicitPath
✔️ AddSqlProject_WithoutDeploymentOptions
✔️ AddSqlProject_WithProjectMetadata
✔️ PublishTo_AddsRequiredServices

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

✔️ ResourceStartsAndRespondsOk

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

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

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

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.Meilisearch.Tests.AspireMeilisearchClientExtensionsTest 6✔️ 127ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConfigurationTests 3✔️ 21ms
CommunityToolkit.Aspire.Meilisearch.Tests.ConformanceTests 16✔️ 8✖️ 203ms
CommunityToolkit.Aspire.Meilisearch.Tests.MeilisearchClientPublicApiTests 6✔️ 77ms

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

Test suite Passed Failed Skipped Time
CommunityToolkit.Aspire.OllamaSharp.Tests.ConfigurationTests 4✔️ 50ms
CommunityToolkit.Aspire.OllamaSharp.Tests.ConformanceTests 11✔️ 13✖️ 85ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaApiClientTests 9✔️ 299ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIChatClientTests 7✔️ 227ms
CommunityToolkit.Aspire.OllamaSharp.Tests.OllamaSharpIEmbeddingGeneratorTests 7✔️ 268ms

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