Add .NET enterprise tool ideas: dotnet-layer-check and dotnet-test-map#4
Open
Chris-Cullins wants to merge 2 commits intomasterfrom
Open
Add .NET enterprise tool ideas: dotnet-layer-check and dotnet-test-map#4Chris-Cullins wants to merge 2 commits intomasterfrom
Chris-Cullins wants to merge 2 commits intomasterfrom
Conversation
Owner
Chris-Cullins
commented
Jan 15, 2026
- dotnet-layer-check: Configurable architecture validator supporting clean architecture, vertical slices, and modular monoliths
- dotnet-test-map: Bidirectional test-to-code mapper for impact analysis and coverage gaps
- dotnet-layer-check: Configurable architecture validator supporting clean architecture, vertical slices, and modular monoliths - dotnet-test-map: Bidirectional test-to-code mapper for impact analysis and coverage gaps
Add a new CLI tool for validating .NET architecture boundaries and layer dependencies. The tool supports multiple architecture patterns and provides detailed violation reporting. Features: - Horizontal layered architecture (Clean/Onion/Hexagonal) - Vertical slice architecture with feature isolation - Custom dependency rules - .csproj and .sln file parsing - NDJSON and text output formats - Configurable via JSON/YAML Architecture patterns: - Clean Architecture: Enforces dependency direction between layers - Vertical Slices: Ensures feature isolation in modular monoliths - Custom Rules: Flexible rule-based dependency validation The tool includes: - Complete .csproj XML parser with project reference extraction - Architecture rule configuration system with pattern matching - Dependency graph analyzer with violation detection - Comprehensive test suite covering all patterns - Example configurations for common architectures Output formats: - JSON (NDJSON): Machine-readable for CI/CD integration - Text: Human-readable violation reports Usage examples: - dotnet-layer-check --rules clean-arch.json --solution MyApp.sln - dotnet-layer-check --rules vertical-slices.yaml --project-dir ./src --strict
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.