1. Identify critical views/functions that cannot break 2. Write unit tests that mock the HTTP/database operations needed for testing