Test behaviour
A useful test proves something important your app does for a user. Do not start by asking “which files need tests?” Start by asking “what must not break?”
Recruiters trust tests when they protect real behaviour: login rules, price totals, form validation, permissions, API responses, and data changes.
What counts as worth testing
Your hackathon project does not need 100 tests. It needs a few tests that show you understand risk.
Pick things that are core to the app, easy to break while coding, or painful for users if wrong. A UPI split app must test amount splitting. A campus event app must test registration limits.