Class: Slowhandcuke::Formatter

Inherits:
Cucumber::Formatter::Pretty
  • Object
show all
Defined in:
lib/slowhandcuke/formatter.rb

Instance Method Summary collapse

Instance Method Details

#before_step(step) ⇒ Object



4
5
6
7
# File 'lib/slowhandcuke/formatter.rb', line 4

def before_step( step )
  @io.printf "... #{step.name}"
  @io.flush
end

#before_step_result(*args) ⇒ Object



9
10
11
12
# File 'lib/slowhandcuke/formatter.rb', line 9

def before_step_result( *args )
  @io.printf "\r"
  super
end