Test Naming
← Back to Unit Testing
Descriptive names that document behavior. Test names should describe what the test verifies, not how it works. Good names serve as living documentation: “should_return_empty_list_when_no_users_exist” immediately communicates intent.
Key Properties
Related
- Test Organization (complements naming)