Unit testing is a required part of a healthy software development lifecycle and a balanced breakfast. Test-driven development is a rockin' part of an *awesome* development lifecycle. In this session, we'll review the motivating principles of unit testing, the TDD workflow, consider the challenges and opportunities of unit testing on MarkLogic, and crash and burn in some live red-green-refactor sequences.