CleanCode icon indicating copy to clipboard operation
CleanCode copied to clipboard

Implement comprehensive testing infrastructure for CleanCode analyzers

Open MO2k4 opened this issue 4 months ago • 1 comments

  • 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

MO2k4 avatar Sep 23 '25 06:09 MO2k4