mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-10-15 01:54:43 +00:00
Refactor documentation and diagrams for web/pipeline. (#272)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> for assistance with diagram creation and documentation prose updates.
This commit is contained in:
29
docs/web/diagrams/deployment/test.mmd
Normal file
29
docs/web/diagrams/deployment/test.mmd
Normal file
@@ -0,0 +1,29 @@
|
||||
sequenceDiagram
|
||||
box Test Environment (docker-compose.test.yaml)
|
||||
participant TestDB as SQL Server, isolated instance<br/>Biergarten Test Database<br/>no host port published
|
||||
participant TestSeaweedFS as seaweedfs<br/>S3-compatible object storage
|
||||
participant TestMig as Migrations (test)
|
||||
participant TestSeed as Seed (test)<br/>minimal: test.user only
|
||||
participant Specs as API.Specs<br/>Reqnroll + xUnit<br/>(integration tests)
|
||||
participant UnitTests as unit.tests<br/>xUnit + Moq<br/>Features.*.Tests, one container
|
||||
participant FrontendTests as frontend.tests<br/>Playwright/Vitest
|
||||
end
|
||||
participant Results as test-results/ (mounted volume)
|
||||
|
||||
TestMig-->>TestDB: depends_on
|
||||
TestMig->>TestDB: Migrate
|
||||
TestSeed-->>TestMig: depends_on
|
||||
TestSeed-->>TestSeaweedFS: depends_on
|
||||
TestSeed->>TestDB: Seed
|
||||
|
||||
par Specs
|
||||
Specs-->>TestSeed: depends_on
|
||||
Specs->>TestDB: Integration test
|
||||
Specs->>Results: Export TRX
|
||||
and unit.tests
|
||||
UnitTests-->>TestSeed: depends_on
|
||||
UnitTests-->>TestDB: depends_on (startup ordering only, no real connection)
|
||||
UnitTests->>Results: Export TRX, one per slice
|
||||
and frontend.tests
|
||||
FrontendTests->>Results: Export results
|
||||
end
|
||||
Reference in New Issue
Block a user