Skip to content
fullstackhero

Guide

Overview

Three layers of tests — unit (xUnit + Shouldly + NSubstitute + AutoFixture), integration (Testcontainers), and architecture (NetArchTest) — around 900 tests green on every build.

views 0 Last updated

fullstackhero ships with around 900 [Fact] + [Theory] tests that run green on every build. Three layers: unit tests verify domain invariants and handler logic without infrastructure; integration tests spin up real Postgres + Valkey + MinIO via Testcontainers and exercise the API end-to-end through Microsoft.AspNetCore.Mvc.Testing; architecture tests use NetArchTest to enforce module boundaries, contracts purity, and naming conventions as compiler-level rules.

The pages