Skip to content

test: parameterize repetitive type validation tests - #81

Open
durdana3105 wants to merge 1 commit into
Omnikon-Org:mainfrom
durdana3105:issue-64
Open

test: parameterize repetitive type validation tests#81
durdana3105 wants to merge 1 commit into
Omnikon-Org:mainfrom
durdana3105:issue-64

Conversation

@durdana3105

Copy link
Copy Markdown
Contributor

Description

Refactors repetitive type validation tests to use Vitest's it.each() for cleaner and more maintainable test coverage.

Changes

  • Parameterized ModelTier validation tests using it.each()
  • Replaced repetitive ProviderHealth tests with table-driven test cases
  • Grouped related scenarios into reusable datasets
  • Reduced duplicated assertion logic
  • Preserved the existing type validation behavior and coverage

Testing

  • Ran the type validation test suite successfully
  • Ran the complete Vitest suite to verify no regressions

Closes #64

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.

[BUG] Parameterize Repetitive Type Validation Tests Using it.each()

1 participant