Documentation ¶
Overview ¶
Package testexecutor provides with a default executor for testing
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EnvVMEXECUTOR = "VMEXECUTOR"
EnvVMEXECUTOR is the name of the environment variable that controls the default test executor
View Source
var ExecWasmer1 = "wasmer1"
ExecWasmer1 is the value of the EnvVMEXECUTOR variable which selects Wasmer 1
View Source
var ExecWasmer2 = "wasmer2"
ExecWasmer2 is the value of the EnvVMEXECUTOR variable which selects Wasmer 2
Functions ¶
func IsWasmer1Allowed ¶
func IsWasmer1Allowed() bool
IsWasmer1Allowed returns true if the default test executor is Wasmer 1. If the default test executor is Wasmer 2, it is not allowed to instantiate a Wasmer 1 executor due to low-level conflicts between Wasmer 1 and 2.
func NewDefaultTestExecutorFactory ¶
func NewDefaultTestExecutorFactory(tb testing.TB) executor.ExecutorAbstractFactory
NewDefaultTestExecutorFactory instantiates an executor factory based on the $VMEXECUTOR environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.