Guides
Testing
Run unit tests, integration tests, and docs checks in the SqlOS repo.
You'll learn how to run the full test suite and focused filters while developing auth or FGA features.
tests/SqlOS.Tests — unit teststests/SqlOS.IntegrationTests — real SQL Server (Aspire container)examples/SqlOS.Example.IntegrationTests — example API flowsexamples/SqlOS.Todo.IntegrationTests — Todo sample flowstests/SqlOS.Benchmarks — performance benchmarksdotnet build SqlOS.sln
./scripts/unit-tests.sh
./scripts/integration-tests.sh
./scripts/docs-check.shdocs-check.sh runs the website lint, production build, and link validation across repo and site docs.
Integration tests use Aspire and SQL Server containers for:
dotnet test tests/SqlOS.Tests/SqlOS.Tests.csproj --filter SqlOSInvitationServiceTests
dotnet test tests/SqlOS.Tests/SqlOS.Tests.csproj --filter RequestEmailOtpSignupAsync
dotnet test tests/SqlOS.IntegrationTests/SqlOS.IntegrationTests.csproj --filter AuthServerSigningKeyResilienceIntegrationTestsCoverage settings live in tests/coverlet.runsettings.