Files
claude-scripts/hooks/code_quality_guard.py
Travis Vasceannie 9cf5baafb4 feat: implement test quality checks with enhanced guidance and external context integration
- Added a new QualityConfig class to manage test quality check configurations.
- Implemented test quality checks for specific rules in test files, including prevention of conditionals, loops, and generic exceptions.
- Integrated external context providers (Context7 and Firecrawl) for additional guidance on test quality violations.
- Enhanced error messaging to provide detailed, actionable guidance for detected issues.
- Updated README_HOOKS.md to document new test quality features and configuration options.
- Added unit tests to verify the functionality of test quality checks and their integration with the pretooluse_hook.
2025-09-29 20:59:32 +00:00

52 KiB