getRunnerStep method
Returns a TestRunnerStep for the given id
and given set of values
.
This will first look in the registered custom steps and then fall back to
the built in steps. If no step can be located for the given id
then
this will return null
.
Implementation
TestRunnerStep? getRunnerStep({
required String id,
required dynamic values,
}) {
TestRunnerStep? result;
var builder = getBuilder(id);
if (builder != null) {
result = builder.testRunnerStepBuilder(values ?? {});
}
return result;
}