docs(tests): document FAST and PHYSICAL_TESTS in the gate header
Also corrects what the 17s actually is: the RealApp collection's one-time fixture (WPF App + XAML resources + audio/WebView2 startup) charged to whichever UI test runs first — ZoomBoxInteractionTests measures 1.1s beside other UI tests and 17.1s when it happens to be first. Nothing to trim in the test; the lever would be App startup cost. Full suite on the current tree: 575 passed, 0 failed, 1m47s, clean build.
This commit is contained in:
@@ -10,6 +10,17 @@
|
||||
# Requires WINDOWS dotnet (never Linux dotnet — it re-downloads the windowsdesktop packs
|
||||
# over the slow 9p bridge; see docs/ai/environment.md -> Run). Reads the Windows path from the
|
||||
# WSL mount.
|
||||
#
|
||||
# Two switches, both for running this on a machine somebody is using:
|
||||
# FAST=1 skip the twelve heaviest test classes (527 tests, ~50s of test time) —
|
||||
# most of their cost is the RealApp fixture: the WPF App, its XAML resources
|
||||
# and audio/WebView2 startup, created once and charged to whichever UI test
|
||||
# runs first. Full suite: 575 tests, ~1m50s.
|
||||
# PHYSICAL_TESTS=1 include tests that drive the REAL cursor (SetCursorPos + mouse_event).
|
||||
# Excluded by default: running them hijacks the machine you are typing on.
|
||||
# (The old mouse-drag test is gone; its arithmetic is pure now — see
|
||||
# DragReorderMathTests. The switch stays for anything of that kind later.)
|
||||
# Scoped runs while working: dotnet vstest <dll> --TestCaseFilter:"FullyQualifiedName~TheClass"
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user