QA/TestingGeneralTable-stakes

Unit Testing

Automated tests that check a single small piece of code (like one function) in isolation to make sure it behaves correctly.

Think of it like

Like taste-testing each individual ingredient before it goes into the dish, to make sure the salt is actually salt and not sugar.

Junior or senior?

Junior sounds like

Writes a unit test for everything, or nothing, without a clear rule.

Senior sounds like

Has a rule of thumb for what deserves one and what doesn't.

Ask them

“What's your rule of thumb for what deserves a unit test versus what doesn't?”