Skip to content
GitHub Actions / .NET Tests succeeded Aug 1, 2024 in 0s

37 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
./test-results/Promote.NuGet.Commands.Tests/test-result-e1ba8b5fc81443c7ba6b59226c1b146d.trx 10✅ 5s
./test-results/Promote.NuGet.Feeds.Tests/test-result-3ca9fec68227426e9291be34d0734fa7.trx 14✅ 33s
./test-results/Promote.NuGet.Tests/test-result-d1f3b2d9235c4a06a415272c6bd61fd8.trx 13✅ 38s

✅ ./test-results/Promote.NuGet.Commands.Tests/test-result-e1ba8b5fc81443c7ba6b59226c1b146d.trx

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

Test suite Passed Failed Skipped Time
Promote.NuGet.Commands.Tests.Core.DistinctQueueTests 7✅ 20ms
Promote.NuGet.Commands.Tests.Requests.Resolution.ResolvePackageVersionPolicyVisitorTests 3✅ 387ms

✅ Promote.NuGet.Commands.Tests.Core.DistinctQueueTests

✅ Cannot_enqueue_an_item_that_is_already_in_queue
✅ Cannot_enqueue_an_item_that_was_in_queue
✅ Cannot_enqueue_items_added_by_ctor
✅ Create_queue_with_items
✅ Ctor_keeps_only_unique_initial_items
✅ Enqueue_and_dequeue_items
✅ HasItems_shows_that_queue_is_not_empty

✅ Promote.NuGet.Commands.Tests.Requests.Resolution.ResolvePackageVersionPolicyVisitorTests

✅ Visit_LatestPackageRequest_finds_greatest_released_package_version
✅ Visit_LatestPackageRequest_returns_error_when_package_not_found
✅ Visit_LatestPackageRequest_returns_error_when_there_are_no_released_packages

✅ ./test-results/Promote.NuGet.Feeds.Tests/test-result-3ca9fec68227426e9291be34d0734fa7.trx

14 tests were completed in 33s with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Promote.NuGet.Feeds.Tests.CachedNuGetPackageInfoAccessorTests 6✅ 166ms
Promote.NuGet.Feeds.Tests.NuGetRepositoryTests 8✅ 105s

✅ Promote.NuGet.Feeds.Tests.CachedNuGetPackageInfoAccessorTests

✅ Different_packages_has_no_effect_on_each_other
✅ Do_not_cache_errors
✅ Get_all_versions_from_repository
✅ Package_id_is_case_insensitive
✅ Returns_error_if_repository_returns_error
✅ Versions_are_cached

✅ Promote.NuGet.Feeds.Tests.NuGetRepositoryTests

✅ DoesPackageExist_returns_expected_package_status("System.Not.Existing.Package.Name","1.0.0",False)
✅ DoesPackageExist_returns_expected_package_status("System.Text.Json","7.9.9",False)
✅ DoesPackageExist_returns_expected_package_status("System.Text.Json","8.0.0",True)
✅ Download_a_package_from_source_feed_and_push_it_to_destination_feed
✅ GetAllVersions_returns_all_versions_of_a_package
✅ GetPackageMetadata_returns_failure_if_package_does_not_exist
✅ GetPackageMetadata_returns_package_metadata
✅ GetPackageMetadata_returns_package_metadata_with_proper_IsListed_value_for_unlisted_packages

✅ ./test-results/Promote.NuGet.Tests/test-result-d1f3b2d9235c4a06a415272c6bd61fd8.trx

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

Test suite Passed Failed Skipped Time
Promote.NuGet.Tests.Promote.FromConfiguration.PromoteConfigurationParserTests 4✅ 278ms
Promote.NuGet.Tests.Promote.FromConfiguration.PromoteFromConfigurationCommandIntegrationTests 3✅ 24s
Promote.NuGet.Tests.Promote.List.PackageDescriptorParserTests 3✅ 7ms
Promote.NuGet.Tests.Promote.List.PromotePackageListCommandIntegrationTests 1✅ 5s
Promote.NuGet.Tests.Promote.SinglePackage.PromoteSinglePackageCommandIntegrationTests 1✅ 4s
Promote.NuGet.Tests.ToolVersionTests 1✅ 159ms

✅ Promote.NuGet.Tests.Promote.FromConfiguration.PromoteConfigurationParserTests

✅ Parse_license_compliance_configuration
✅ Parse_packages_configuration
✅ Throw_validation_error_if_empty_accepted_licenses
✅ Throw_validation_error_if_no_versions

✅ Promote.NuGet.Tests.Promote.FromConfiguration.PromoteFromConfigurationCommandIntegrationTests

✅ Checks_license_compliance_when_no_licenses_are_accepted
✅ Checks_license_compliance_with_whitelisted_licenses
✅ Promotes_a_set_of_packages_with_their_dependencies_to_destination_feed

✅ Promote.NuGet.Tests.Promote.List.PackageDescriptorParserTests

✅ Parse_package_descriptors("Install-Package PackageName -Version 1.2.3",PackageName 1.2.3)
✅ Parse_package_descriptors("PackageName [1.0.5,3)",PackageName (>= 1.0.5 && < 3.0.0))
✅ Parse_package_descriptors("PackageName 1.2.3",PackageName 1.2.3)

✅ Promote.NuGet.Tests.Promote.List.PromotePackageListCommandIntegrationTests

✅ Promotes_a_set_of_packages_with_their_dependencies_to_destination_feed

✅ Promote.NuGet.Tests.Promote.SinglePackage.PromoteSinglePackageCommandIntegrationTests

✅ Promotes_a_package_with_its_dependencies_to_destination_feed

✅ Promote.NuGet.Tests.ToolVersionTests

✅ Returns_version_of_the_tool