Package test provides utility drivers for running UI tests without rendering
Canvas returns a reusable in-memory canvas used for testing
NewApp returns a new dummy app used for testing. It loads a test driver which creates a virtual window in memory for testing.
NewClipboard returns a single use in-memory clipboard used for testing
NewDriver sets up and registers a new dummy driver for test purpose
NewDriverWithPainter creates a new dummy driver that will pass the given painter to all canvases created
NewWindow creates and registers a new window for test purposes
Tap simulates a left mouse click on the specified object.
TapAt simulates a left mouse click on the passed object at a specified place within it.
TapSecondary simulates a right mouse click on the specified object.
TapSecondaryAt simulates a right mouse click on the passed object at a specified place within it.
Type performs a series of key events to simulate typing of a value into the specified object. The focusable object will be focused before typing begins. The chars parameter will be input one rune at a time to the focused object.
TypeOnCanvas is like the Type function but it passes the key events to the canvas object rather than a focusable widget.
SoftwarePainter describes a simple type that can render canvases
WindowlessCanvas provides functionality for a canvas to operate without a window
NewCanvas returns a single use in-memory canvas used for testing
NewCanvasWithPainter allows creation of an in-memory canvas with a specific painter. The painter will be used to render in the Capture() call.