Pytest cache invalidation on test refactoring
Goal \n To understand how pytest’s built‑in cache behaves when test functions are moved or renamed, and to identify whether the cache is automatically invalidated or requires manual clearing. \n Constraints \n Pytest 7.3.0 stores cache values keyed by the test node id and a user‑supplied key. The cache is not automatically purged when a test’s node id change