Your question is Unit Testing a New Feature. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
How do you approach writing unit tests for a new feature?
I’m looking for how you decide what to test first, how you balance coverage with delivery speed, and how you handle edge cases or unclear requirements. A strong answer should show practical judgment, not just a checklist. If you have a real example, walk me through how you chose the test cases and what you learned.