Files
FinalToken/tests/FinalToken.App.Tests/AGENTS.md
T
Florian Schmidt 183247bab5 app: add the Avalonia desktop app
Opening the app shows the stats panel: per-provider limit bars with the
pace marker, delta, reset and projection, token totals, hourly and daily
charts, limit history with its pace line, model and project tables and
recent diagnostics (R4, D8). Pace popups stack at the bottom right
without taking focus (R5). The tray, settings, single-instance
activation, start with the OS and the Stream Deck install policy (D11)
are wired to the Core engine. Avalonia 12.1.4 and
CommunityToolkit.Mvvm 8.4.2 are the new packages D8 calls for.

Refs #1
2026-10-14 20:08:11 +02:00

430 B

App tests

Hand-written fixtures only. xUnit v3 AOT with Microsoft.Testing.Platform. Run dotnet test --project tests/FinalToken.App.Tests -c Release from the root. View-model tests use public Core queries. Headless tests run on a dedicated UI thread with Skia and HarfBuzz, exercise settings and popup actions, and save seven PNG screenshots outside the repo at ../runs/shots/w2. FINALTOKEN_SCREENSHOT_DIR overrides that path.