setTestVariable method
Sets the variable with the variableName
to the value
to be accessible
by the currently running test.
To set a variable so that it is accessible by all tests, use setGlobalVariable.
Implementation
void setTestVariable({
required dynamic value,
required String variableName,
}) =>
_testVariables[variableName] = value;