Use the open-source free `NetArchTest.Rules` library for architecture rules in .NET unit tests.
ArchUnitNET for .NET
Use the open-source free `ArchUnitNET` library for architecture rules in .NET tests. Use when a repo needs richer architecture assertions than lightweight fluent rule libraries usually provide.
Trigger On
- the repo uses or wants
ArchUnitNET - architecture testing needs richer modeling than simple dependency checks
Workflow
- Load the architecture once per test assembly where possible.
- Encode a small number of durable, high-value architecture rules first.
- Use the test-framework-specific integration package that matches the repo.
Deliver
- architecture tests with richer domain and type modeling
- architecture-rule commands wired into repo test flow and CI expectations
Validate
- architecture load cost is reasonable for the suite
- rules are stable and tied to real boundaries
Load References
references/archunitnet.mdreferences/patterns.mdreferences/examples.md
Related skills
NetArchTest.RulesNetArchTest.eNhancedEdition
Design or review .NET solution architecture across modular monoliths, clean architecture, vertical slices, microservices, DDD, CQRS, and cloud-native boundaries without…
Use `graphify-dotnet` to generate codebase knowledge graphs, architecture snapshots, and exportable repository maps from .NET or polyglot source trees, with optional AI-enriched…
Graphify.Dotnet
Related agents
.NET Review
Review orchestration agent for .NET changes across bugs, regressions, analyzers, architecture, tests, and maintainability.
agents install review
Also works: dotnet agents install review
Routes to
+6 more