events

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package events prints and responds to test events.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionStarted

func ActionStarted(t testing.TB, format string, dev binding.Device) testing.TB

ActionStarted notifies that the specified action has started. Used to restrict the library to calling t.Helper and t.Log only.

func Breakpoint

func Breakpoint(t testing.TB, msg string) error

Breakpoint notifies a breakpoint has been reached, which suspends test execution until the user indicates test execution should be resumed. Returns an error if the test is not in debug mode.

func ReservationDone

func ReservationDone()

ReservationDone notifies that the reservation is complete.

func TestCasesDone

func TestCasesDone()

TestCasesDone notifies that the test cases are complete and the testbed is about to be released.

func TestStarted

func TestStarted(debugMode bool)

TestStarted notifies that the test has started, whether it was started in debug mode, and that the testbed is about to be reserved.

Types

This section is empty.

Jump to

Keyboard shortcuts

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