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

test: add unit tests for operations/errors package #2306

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

Conversation

karthikmanam
Copy link

Add unit tests for the resource error type in the operations/errors package to improve test coverage.

The tests verify:

  • Basic resource error creation and message formatting

  • Handling of template values in error messages

  • Behavior with invalid templates

These tests help ensure error messages maintain their expected format and content.

Explanation

Related issue

Proposed Changes

Checklist

  • I have read the contributing guidelines.
  • I have read the PR documentation guide and followed the process including adding proof manifests to this PR.
  • This is a bug fix and I have added unit tests that prove my fix is effective.

Further Comments

Add unit tests for the resource error type in the operations/errors package to improve test coverage.

The tests verify:

- Basic resource error creation and message formatting

- Handling of template values in error messages

- Behavior with invalid templates

These tests help ensure error messages maintain their expected format and content.

Signed-off-by: Karthik babu Manam <[email protected]>
@karthikmanam karthikmanam requested a review from a team as a code owner March 7, 2025 08: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.

1 participant