CleanCode
CleanCode copied to clipboard
Implement comprehensive testing infrastructure for CleanCode analyzers
- Add MO.CleanCode.Tests project with ReSharper Test Framework integration
- Create test base class and structure for analyzer unit testing
- Implement tests for core analyzers:
- TooManyDependencies: Interface dependency counting and settings
- ClassTooBig: Method counting with proper exclusions
- MethodTooLong: Statement and declaration count limits
- Add comprehensive test data with realistic C# code samples
- Enable testDotNet task in Gradle build pipeline
- Update CLAUDE.md with testing documentation and workflow
- Tests now run automatically before building and publishing
🤖 Generated with Claude Code