These use tiny offline companion archives and disposable fake game directories, never the installed game. Native Windows remains a separate manual test requirement.
Lua harnesses require LuaJIT (Lua 5.1 semantics and `bit`). `tests/check-timers-optimizer.lua` runs with the addon directory as its first argument, including a trailing slash.
The other layout/pet/meter harnesses load selected matching Blizzard UI source files. Those files are **not redistributed**. Set `RUEN_NATIVE_UI` to a directory containing the matching Forever client exports:
These harnesses simulate engine state and execute selected native methods. They are not a substitute for live rendering or the secure game VM. Review changes against the exact client UI revision rather than making tests pass against a different branch.
The two new standalone checks are `luajit tests/check-profiles.lua "$PWD/RuenUI/"` and `luajit tests/check-layout-policy.lua "$PWD/RuenUI/"`. The profile fixture executes the actual restricted binding snippet against a modeled engine, including native-control transitions in combat. It does not emulate the live secure VM or certify binding priority there.
For a pure geometry comparison, preserve the preceding `OverlayLayout.lua` and run `luajit tests/benchmark-layout.lua "$PWD/RuenUI/" /path/to/baseline/OverlayLayout.lua`. This measures only bounded rectangle searches, not live FPS, GPU load or allocations from the complete UI. A live `/ruen bench` comparison needs the same scene/settings and a continuously focused game window.
The allowlist excludes tests, third-party payloads, caches, account saves and Git metadata. The ZIP includes the launcher source and installer helpers. `SHA256SUMS.txt` verifies the ZIP; `manifest.json` verifies its extracted files. Neither is a digital signature. Publish the named ZIP and checksum as Gitea prerelease assets. A Gitea source archive is for development and lacks the generated installer manifest.
The Windows launcher can be rebuilt with Clang targeting x86_64-pc-windows-msvc and LLD in link mode. Compile `Tools/Ruen-Setup.c` with `-Os -ffreestanding -fno-stack-protector -fshort-wchar`; create a KERNEL32 import library from `Tools/kernel32.def`; link with `/entry:entry /subsystem:console /machine:x64 /nodefaultlib /opt:ref /timestamp:0`. It uses only KERNEL32 imports, no bundled runtime. The included binary is unsigned.
The frame recorder is in `FrameTiming.lua` and must precede both `Optimizer.lua` and `Benchmark.lua` in fixtures and the TOC. `check-benchmark.lua` includes smooth reported FPS with sparse 200 ms stalls, partial/pause/loading behavior, multi-second stalls, bounded persistence and no idle updates. `check-timers-optimizer.lua` exercises scene retuning, four independent environment profiles, targets, capped final validation, sparse-hitch rejection, loading/combat deferral, unsupported controls and exact restore. These simulations establish detection/selection behavior, not real GPU responsiveness or improvement in the user's cave.