Moving beyond textbook examples — practical patterns for writing unit tests that survive real codebases and real deadlines.