class Lucid::Formatter::Condensed

Public Instance Methods

after_step( step ) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 26
def after_step( step )
  @io.print " "*(step.name.length+4)
  @io.flush
end
background_name(*args) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 17
def background_name(*args)
  return
end
before_step( step ) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 21
def before_step( step )
  @io.print "\r... #{step.name}"
  @io.flush
end
before_step_result( *args ) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 31
def before_step_result( *args )
  @io.printf "\r"
  super
end
comment_line(comment_line) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 41
def comment_line(comment_line)
  return
end
feature_name(keyword, name) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 11
def feature_name(keyword, name)
  name = name.split(/\n/)[0]
  @io.puts("#{keyword}: #{name}")
  @io.flush
end
scenario_name(keyword, name, file_colon_line, source_indent) click to toggle source
# File lib/lucid/formatter/condensed.rb, line 7
def scenario_name(keyword, name, file_colon_line, source_indent)
  super
end
step_name(*args) click to toggle source
Calls superclass method Lucid::Formatter::Standard#step_name
# File lib/lucid/formatter/condensed.rb, line 36
def step_name(*args)
  @hide_this_step=true if args[2] == :passed
  super
end