Hacker News new | ask | show | jobs
by mduan 2790 days ago
OP here. In our front-end tests, I haven't really noticed cases where the mocks get out of date that don't cause the test cases using the mock to fail, at which point we'd update the mock data. We also have end-to-end Selenium tests as supplement to our front-end tests which helps with catching format mismatch between front-end and backend (granted they're not that comprehensive at the moment).