package testing

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

Dependency Relation
	imports 18 packages, and imported by one package

Involved Source Files testing.go
Package-Level Functions (total 5)
NewDbgWorker creates a new worker instance of the am-dbg.
func NewRpcClient(t *testing.T, ctx context.Context, addr string, stateStruct am.Schema, stateNames am.S, consumer *am.Machine) *rpc.Client
NewRpcTest creates a new rpc server and client for testing, which exposes the passed worker as a remote one, and binds payloads to the optional consumer. TODO sync with rpc/rpc_test
Type Parameters: G: any RpcGet retrieves a value from the RPC server.
RpcShutdown shuts down the passed client and optionally a server.