Class: RspecVimFormatter
- Inherits:
-
RSpec::Core::Formatters::BaseTextFormatter
- Object
- RSpec::Core::Formatters::BaseTextFormatter
- RspecVimFormatter
- Defined in:
- lib/rspec_vim_formatter.rb
Instance Method Summary collapse
- #dump_failures(*args) ⇒ Object
- #dump_pending(*args) ⇒ Object
- #dump_summary(*args) ⇒ Object
- #example_failed(example) ⇒ Object
- #example_pending(*args) ⇒ Object
- #message(msg) ⇒ Object
- #seed(*args) ⇒ Object
Instance Method Details
#dump_failures(*args) ⇒ Object
16 |
# File 'lib/rspec_vim_formatter.rb', line 16 def dump_failures *args; end |
#dump_pending(*args) ⇒ Object
17 |
# File 'lib/rspec_vim_formatter.rb', line 17 def dump_pending *args; end |
#dump_summary(*args) ⇒ Object
19 |
# File 'lib/rspec_vim_formatter.rb', line 19 def dump_summary *args; end |
#example_failed(example) ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File 'lib/rspec_vim_formatter.rb', line 5 def example_failed example exception = example.execution_result[:exception] return unless path = extract_path(exception) = exception. path = format_caller(path) output.puts "#{path}: #{example.example_group.description.strip}" + "#{example.description.strip}: #{.strip}" end |
#example_pending(*args) ⇒ Object
15 |
# File 'lib/rspec_vim_formatter.rb', line 15 def example_pending *args; end |
#message(msg) ⇒ Object
18 |
# File 'lib/rspec_vim_formatter.rb', line 18 def msg; end |
#seed(*args) ⇒ Object
20 |
# File 'lib/rspec_vim_formatter.rb', line 20 def seed *args; end |