Skip to content

Add tests for Conan and NuGet handlers#28

Merged
andrew merged 1 commit into
mainfrom
add-handler-tests
Mar 13, 2026
Merged

Add tests for Conan and NuGet handlers#28
andrew merged 1 commit into
mainfrom
add-handler-tests

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented Mar 13, 2026

Adds test coverage for the two previously untested protocol handlers.

conan_test.go (25 tests): ping endpoints, upstream proxying, header forwarding, auth forwarding, cacheable vs non-cacheable file routing, query string preservation, error handling.

nuget_test.go (28 tests): service index rewriting, URL rewriting for all service types, upstream proxying, download validation, search/autocomplete URL routing, error handling.

Tests cover ping endpoints, upstream proxying, service index rewriting,
URL rewriting, file caching decisions, header forwarding, error handling,
query string preservation, status code passthrough, and input validation.
@andrew andrew merged commit 240a61c into main Mar 13, 2026
5 checks passed
@andrew andrew deleted the add-handler-tests branch March 26, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant