64 / 65 · 14 API Testing Fundamentals · API Versioning← prev⊞ allnext →☰ Read as one page
8.7Practical Exercise
- Write backward compatibility tests: create resources in v1, verify they are accessible in v2
- Write cross-version data tests: create in v2, read in v1
- Test the default version behavior (no version specified)
- Test deprecated endpoints: verify they still work and include deprecation headers
- Write a test matrix that covers all CRUD operations across all API versions