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

Minor testing enhancements #459

Merged
merged 3 commits into from
Jul 8, 2024
Merged

Minor testing enhancements #459

merged 3 commits into from
Jul 8, 2024

Conversation

sirosen
Copy link
Member

@sirosen sirosen commented Jul 8, 2024

Primarily, add more tests to go after coverage gaps.

  • Add simple non-string examples to format tests
  • Add a missing test case for '--validator-class'
  • Refactor CLI unit tests + add deprecation tests

Simply add `object()` instances as non-string test data. This improves
test coverage by exercising the failure path for non-string data.
- Move CLI unit tests to `tests/unit/cli/`
- Add initial test cases for the deprecation callback helper
@sirosen sirosen merged commit ddc6341 into main Jul 8, 2024
45 checks passed
@sirosen sirosen deleted the enhance-testing branch July 8, 2024 15:40
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