Skip to content

Conversation

@simondeziel
Copy link
Member

No description provided.

@simondeziel simondeziel requested a review from Copilot August 11, 2025 21:17
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds test coverage for utility functions in the client package by introducing a new test file client/util_test.go with comprehensive test cases.

  • Adds unit tests for four utility functions: setQueryParam, urlsToResourceNames, parseFilters, and openBrowser
  • Provides comprehensive test coverage including edge cases, error conditions, and various input scenarios
  • Uses table-driven testing approach for structured and maintainable test cases

@simondeziel simondeziel marked this pull request as ready for review August 12, 2025 11:36
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ta

@tomponline tomponline merged commit b9fcc17 into canonical:main Aug 12, 2025
31 checks passed
@simondeziel simondeziel deleted the more-tests branch August 12, 2025 17:49
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.

2 participants