Skip to content

Improve unit test coverage #984

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

Merged
merged 5 commits into from
May 3, 2025
Merged

Improve unit test coverage #984

merged 5 commits into from
May 3, 2025

Conversation

sashabaranov
Copy link
Owner

  • add tests for config
  • add audio tests

@sashabaranov sashabaranov requested a review from Copilot May 3, 2025 21:21
Copy link

@Copilot 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 improves unit test coverage by adding tests for configuration behavior and audio processing error scenarios.

  • Adds tests for verifying default configuration values and behaviors.
  • Introduces multiple error simulation tests for audio API calls using custom failing builders.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
config_test.go Adds tests for ClientConfig string representation and model mapping behavior.
audio_test.go Adds tests to simulate and validate error handling in audio API calls.

@sashabaranov sashabaranov merged commit 5ea214a into master May 3, 2025
5 checks passed
@sashabaranov sashabaranov deleted the sashabaranov/add-tests branch May 3, 2025 21:25
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