package utils

Import Path
	github.com/pancsta/asyncmachine-go/internal/testing/utils (on go.dev)

Dependency Relation
	imports 17 packages, and imported by 2 packages

Involved Source Files test_utils.go
Package-Level Functions (total 11)
KillProcessesByName finds and attempts to terminate all processes with the given name. It returns a slice of PIDs that were successfully terminated and a slice of errors for any processes that could not be terminated.
NewCustom creates a new machine with custom states.
NewCustomRpcWorker creates a new worker with custom states.
NewNoRels creates a new machine without relations between states.
NewNoRelsRpcWorker creates a new RPC worker without relations between states.
NewNoRelsRpcWorkerSchema creates a new RPC worker without relations between states and applies a schema overlay.
NewRels creates a new machine with basic relations between ABCD states.
NewRelsNodeWorker creates a new Node worker machine with basic relations between ABCD states.
NewRelsRpcWorker creates a new RPC worker machine with basic relations between ABCD states.
RandListener creates a new listener on an open port between 40000 and 50000. It allows avoiding conflicts with other tests, using predefined addresses, unlike using port 0.
func RandPort(min, max int) string
Package-Level Variables (total 3)
Package-Level Constants (only one)
const EnvAmTestRunner = "AM_TEST_RUNNER"