Validation testing refactor - #28
Conversation
6623c5a to
0b1ae19
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #28 +/- ##
==========================================
+ Coverage 95.83% 95.85% +0.01%
==========================================
Files 16 17 +1
Lines 985 988 +3
==========================================
+ Hits 944 947 +3
Misses 41 41 ☔ View full report in Codecov by Harness. |
0b1ae19 to
753542d
Compare
3bddae4 to
9082b61
Compare
There was a problem hiding this comment.
Pull request overview
Refactors the validation test suite to be backend-agnostic by introducing shared schemas/fixtures and moving validation tests into a dedicated tests/validation/ package, while cleaning up the previous backend-specific test file.
Changes:
- Added shared validator fixtures + reusable schema/fixture definitions for validation backend testing.
- Added a unified validation test suite that runs against all configured backends.
- Removed the previous
tests/test_validate.pybackend-specific test module and updated the changelog.
Reviewed changes
Copilot reviewed 5 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| uv.lock | Updates locked dependency versions. |
| tests/validation/test_validate.py | Adds backend-agnostic tests for to_json_schema() and validate(). |
| tests/validation/conftest.py | Introduces shared schemas and parametrized fixtures for backend testing. |
| tests/validation/init.py | Marks tests.validation as a package. |
| tests/test_validate.py | Removes old backend-specific tests. |
| src/eyconf/validation/backends/init.py | Adds a public re-export surface for validator backends. |
| CHANGELOG.md | Documents the upcoming test refactor. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This pull request makes validation tests backend-agnostic and introduces a shared set of reusable schemas and fixtures to unify testing across validation backends.