Ross ROSS = Recommend OSS · open-source software intelligence for agents

BenMorris/NetArchTest

A fluent API for .Net that can enforce architectural rules in unit tests. observed · 2026-08-28

github.com/BenMorris/NetArchTest · C# · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2837
  • days_rel: n/a
  • days_push: 765
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1772 stars · 95 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

NetArchTest is a fluent API library for .NET that enforces architectural rules (naming, dependencies, class design conventions) within unit tests. Inspired by Java's ArchUnit, it lets developers write readable assertions about codebase structure that run in any test framework and CI pipeline.

Use cases

  • enforce that presentation layer does not depend on data layer in tests
  • assert all service classes are sealed via unit tests
  • prevent architecture violations automatically in CI builds
  • write custom architectural convention tests for .NET codebases
  • test that classes implementing an interface reside in specific namespaces
  • create a self-testing architecture instead of relying on code review

When to choose

  • you have a .NET codebase and want architecture rules enforced as part of the test suite
  • you want ArchUnit-style architecture tests in C#
  • static analysis tools are too generic for your application-specific conventions

When to avoid

  • you need general-purpose static analysis or linting beyond architecture rules
  • you are not on .NET Framework 4.6.1+ or .NET Core 2.0+
  • you want runtime enforcement rather than test-time checks

Facets

library · maturity stable

testing developer-tools linter developer-tools testing dotnet cross-platform architecture-testing archunit-inspired fluent-api unit-testing conventions static-analysis architecture

1 source

Member repositories

RepositoryRoleHealth v2
BenMorris/NetArchTestmain23

For agents

markdown · JSON · MCP: product_card(name="BenMorris/NetArchTest")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem