Help us shape the future of Go! Take the 2026 Go Developer Survey

visual

command
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

The visual evidence probe opens each window kind the backend supports, one at a time, and screenshots the whole screen while it is up. It is run on the lab VMs (never on a developer's console session):

macOS:  go run -tags purego ./tests/purego/visual
Linux:  xvfb-run -a -s "-screen 0 1280x800x24" dbus-run-session -- go run ./tests/purego/visual
Windows: go run ./tests/purego/visual  (in an interactive desktop session)

Each screenshot is printed to stdout as base64 between "EVIDENCE-BEGIN <name>.png" and "EVIDENCE-END" lines, because the lab only returns the job's output. The harness decodes them into PNG files. VISUAL_SCENARIOS (comma separated) limits the run to some scenarios; the scenarios marked alone run only when it names them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL