Files
FinalToken/tests/FinalToken.App.Tests/AGENTS.md
T
Florian Schmidt 15c7e684bb build: one version for the app and the plugin
D11 replaces an installed plugin only when the shipped manifest is
newer, but the manifest version was kept by hand and still said
1.0.0.1, the version of a test build installed before the snapshot
sharing and appPath fixes, so that stale plugin was never replaced.
Directory.Build.props now holds the only version, 1.0.1; publish.py
stamps it into the shipped manifest and the app shows it in its title.

Tests that waited on real time (file retry, popup expiry) use
controlled timers, and real process waits have wider margins.

Refs #1
2026-10-14 21:08:22 +02:00

531 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. Popup expiry uses an injected TimeProvider; fire timers and pump the dispatcher instead of sleeping.