Assert that the outcome
is true, naming the assertion with name
, which will be used as a label in the CLI runner. The reason
argument
will be used to print a message when the assertion fails, this should contain some additional information about values being compared.
Assert that x
and y
are equal, naming the assertion with msg
, which will be used as a label in the CLI runner.
Assert that x
is greater than y
, naming the assertion with msg
, which will be used as a label in the CLI runner.
Assert that x
is greater than or equal to y
, naming the assertion with msg
, which will be used as a label in the CLI runner.
Assert that x
is less than y
, naming the assertion with msg
, which will be used as a label in the CLI runner.
Assert that x
is less than or equal to y
, naming the assertion with msg
, which will be used as a label in the CLI runner.
Assert that x
and y
are not equal, naming the assertion with msg
, which will be used as a label in the CLI runner.
Call a function from the Extism plugin being tested, passing input and returning its output.
Call a function from the Extism plugin being tested, passing input and returning its output Memory.
Run a test group, resetting the plugin before and after the group is run.
Reset the loaded plugin, clearing all state.
Call a function from the Extism plugin being tested, passing input and returning the time in nanoseconds spent in the fuction.
Call a function from the Extism plugin being tested, passing input and returning the time in seconds spent in the fuction.