Class: Specjour::RSpec::DistributedFormatter
- Inherits:
-
Object
- Object
- Specjour::RSpec::DistributedFormatter
- Defined in:
- lib/specjour/rspec/distributed_formatter.rb
Instance Method Summary collapse
- #close ⇒ Object
- #color_enabled? ⇒ Boolean
- #dump_summary(*args) ⇒ Object
- #metadata_for_examples ⇒ Object
- #noop(*args) ⇒ Object (also: #dump_pending, #dump_failures, #start_dump, #message)
Instance Method Details
#close ⇒ Object
33 34 35 36 |
# File 'lib/specjour/rspec/distributed_formatter.rb', line 33 def close examples.clear super end |
#color_enabled? ⇒ Boolean
25 26 27 |
# File 'lib/specjour/rspec/distributed_formatter.rb', line 25 def color_enabled? true end |
#dump_summary(*args) ⇒ Object
29 30 31 |
# File 'lib/specjour/rspec/distributed_formatter.rb', line 29 def dump_summary(*args) output. :rspec_summary=, end |
#metadata_for_examples ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/specjour/rspec/distributed_formatter.rb', line 4 def examples.map do |example| = example. { :execution_result => marshalable_execution_result(example.execution_result), :description => [:description], :file_path => [:file_path], :full_description => [:full_description], :line_number => [:line_number], :location => [:location] } end end |
#noop(*args) ⇒ Object Also known as: dump_pending, dump_failures, start_dump, message
18 19 |
# File 'lib/specjour/rspec/distributed_formatter.rb', line 18 def noop(*args) end |