Log inGet started
Package

crashReadouts.package

This package holds more than this page lists. See all of its files in its world.

README.md

crashReadouts tests

Checks the crashReadouts.readouts module, the pure display behind every readout panel:

  • Catalogue: Readouts.styles() lists the eight styles in catalogue order; Readouts.sample() carries every field the styles print, with traces.
  • Every style renders: each style turns the sample into a widget tree with no label that reads as an error or fallback ("failed", "error", "nil", "nan", ...), differs from the plain fallback (so it reached its own renderer), and passes the UI validator when rasterised offscreen on a hidden screen. Every frame of the entrance animation renders too.
  • Layout fits: on a phone (390x844, and landscape), a laptop (1280x720) and a desktop (1920x1080), every style's Readouts.layout box lies inside the screen in all four anchors, and the tree rendered for that box is no larger than it. Phones get bottom sheets, desktops side panels.
  • Missing fields: an empty result, nil, a result with only a few numbers, and the sample without traces, rating or names all render in every style without throwing, and a missing number reads "—". An unknown style falls back to plain.

It leaves the ReadoutPanel component's live screen, input and animation timing alone (they need play and a real viewport). Screens it registers are hidden and unregistered after each test.

Run it: tools.use("tests", "run", "crashReadouts") in edit mode.