Skip to content

CodeMod v1.0.2: Test Infrastructure Overhaul & Dry-Run Enhancements

Latest

Choose a tag to compare

@elalecs elalecs released this 27 Feb 08:36
· 10 commits to master since this release

I'm excited to announce CodeMod v1.0.1, which includes significant improvements to the testing infrastructure and standardization of command behavior.

🧪 Test Infrastructure Improvements
Reorganized Test Files: Created a dedicated /tests/Fixtures directory for all auxiliary test files, improving project organization
Temporary File Management: Tests now utilize system temporary directories instead of the project directory for all temporary files
Enhanced Test Helpers: Improved helper functions for more reliable property and method verification
Cleaner Test Cleanup: Tests now properly handle removal of all temporary files, preventing leftover artifacts

🔍 Dry-Run Enhancements
Standardized Output: Consistent dry-run output formatting across all commands
Improved Diff Visualization: Better display of code differences in dry-run mode
Unified Implementation: Standardized dry-run behavior between Class and Enum modify commands

🛠️ Code Quality Improvements
Removed Redundant Tests: Eliminated duplicate test cases for cleaner test suite
Fixed Edge Cases: Resolved issues with property detection and method verification
Standardized Patterns: Applied consistent coding patterns across the codebase
This release focuses on improving the development experience and laying the groundwork for future feature development. All tests are now passing with the new infrastructure, making it easier to add new features with confidence.