rspec-quickfix-formatter-bintz/lib/rspec-quickfix-formatter/base.rb

18 lines
397 B
Ruby
Raw Permalink Normal View History

2011-07-20 13:55:09 +00:00
module QuickFixFormatterBase
def dump_summary(duration, example_count, failure_count, pending_count)
end
def dump_profile
end
def dump_pending
end
def dump_failures
failed_examples.each do |example|
output.puts "%s:%s:%s" % [ example.file_path, example.metadata[:line_number], example.metadata[:execution_result][:exception].message.gsub("\n", ' ') ]
end
end
end