def before_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background)
arguments = step_match.step_arguments.map{|a| Gherkin::Formatter::Argument.new(a.byte_offset, a.val)}
location = step_match.file_colon_line
match = Gherkin::Formatter::Model::Match.new(arguments, location)
if @print_emtpy_match
@gf.instance_variable_set('@match', match)
else
@gf.match(match)
end
error_message = exception ? "#{exception.message} (#{exception.class})\n#{exception.backtrace.join("\n")}" : nil
unless @outline
@gf.result(Gherkin::Formatter::Model::Result.new(status, error_message))
end
end