Automated code that checks whether a specific piece of software works correctly by testing individual functions.