You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: parametrise and consolidate backend-specific tests #730
Where duplicate test logic exists across backends (HF, vLLM, Ollama, etc.), consolidate into parametrised test suites. This improves consistency, reduces maintenance, and makes it easier to add new backends.
Work
Identify test files with duplicate logic across backends
Consolidate into parametrised suites using @pytest.mark.parametrize over backends
Stretch: design a single parametrised backend contract test suite that runs against each available backend to catch interface inconsistencies
Ensure parametrised tests respect backend markers so they skip correctly when a backend is unavailable
Update contributor documentation on the parametrised pattern
Notes
This covers both test/ and example scripts
Depends on understanding from 2a (shift-left) and 1b (marker audit) — those reveal which tests have backend-specific duplicates
The contract test suite (stretch goal) would validate that all backends implement the same interface consistently
Activity