This refactoring systematically renames all unit test functions that use the test_ prefix to follow the repository's established naming convention using the it_should_ prefix with behavior-driven naming.
Related Document: Refactor Plan - Rename Test Functions to Follow Conventions
Scope:
- 21 files containing test functions with
test_ prefix
- Rename to follow
it_should_{behavior}_when_{condition} pattern
- Align with conventions in
docs/contributing/testing/unit-testing.md
Implementation Strategy:
- Work on one file at a time
- Run tests after each file modification
- Run linters after each file
- Commit changes after each file
Benefits:
- ✅ Clear behavior documentation in test names
- ✅ Follows established repository conventions
- ✅ Improves code discoverability and readability
- ✅ Better adherence to BDD principles
See the refactor plan document for complete details including all 21 proposals organized by priority.
This refactoring systematically renames all unit test functions that use the
test_prefix to follow the repository's established naming convention using theit_should_prefix with behavior-driven naming.Related Document: Refactor Plan - Rename Test Functions to Follow Conventions
Scope:
test_prefixit_should_{behavior}_when_{condition}patterndocs/contributing/testing/unit-testing.mdImplementation Strategy:
Benefits:
See the refactor plan document for complete details including all 21 proposals organized by priority.