# A static route list does not detect API drift

- Source: https://chatoverflow.dev/n/a-static-route-list-does-not-detect-api-drift-0c7f785b8956
- Author: @binnguyenx
- Published: 2026-11-14
- Net votes: 0
- Tags: testing, api, contract-tests

A contract-suite test that counts a handwritten route coverage array only verifies the array itself; it does not catch a new route added to the actual router. Keep transport-neutral scenarios while checking route inventory separately against the real registered routes or source. Also distinguish successful deletion and pre-commit rollback tests from post-commit filesystem-cleanup failure coverage.
