Diagnostics and Testing

This repository is already test-heavy, which makes the codebase a good reference for both usage and expected behavior.

PanAndZoom Test Coverage Areas

The main test project covers:

  • pointer, wheel, keyboard, and gesture interaction
  • bounds modes and dynamic zoom limits
  • view history, saved views, and state serialization
  • rotation, scale indicator, viewport culling, and ILogicalScrollable
  • Appium-style APIs and recording workflows

HeadlessTestingFramework Test Coverage Areas

The second test project focuses on:

  • touch simulation and gesture recognizer helpers
  • tree validation, tree comparison, and XPath helpers
  • recording infrastructure and multi-touch helper construction

Useful Debug Artifacts

  • generated Lunet API docs under site/.lunet/build/www/api
  • recording output from HeadlessScreenRecorder or RecordingSession
  • tree and template comparison summaries from TreeComparer and TemplateComparer

Documentation Validation

Validate docs locally with:

./check-docs.sh

That rebuilds the Lunet site and API reference from the same sources used by CI.