Expand coverage to full backend assembly

This commit is contained in:
2026-02-24 23:37:53 +01:00
parent c6e95f16e1
commit 885121723d
5 changed files with 78 additions and 1 deletions

4
FAQ.md
View File

@@ -28,6 +28,10 @@ To start with a clean backend state, stop the app and remove the corresponding S
No. The backend loads state from SQLite once during startup into in-memory state and serves requests from memory. Successful state mutations are then written back to SQLite.
## What does test coverage include?
Coverage now includes the entire backend project (`RpgRoller`), including API/hosting/bootstrap code and services. It is no longer restricted to `RpgRoller.Services.*`.
## Why do backend services use `*Command` types instead of API request DTOs?
Service workflows now consume service-layer command models (for example, `CreateCampaignCommand`) so endpoint transport contracts stay isolated in the API layer. This reduces coupling and keeps service code reusable when input shapes evolve at the HTTP boundary.