Module: Cucumber::Formatter::Duration

Defined in:
lib/CucumberTarantulaFormatter.rb

Overview

This formatter prints features to plain text - exactly how they were parsed, just prettier. That means with proper indentation and alignment of table columns. it also updates Tarantula step results

If the output is STDOUT (and not a file), there are bright colours to watch too.

Instance Method Summary collapse

Instance Method Details

#format_duration_simple(seconds) ⇒ Object

Helper method for formatters that need to format a duration in seconds to the UNIX time format.



21
22
23
# File 'lib/CucumberTarantulaFormatter.rb', line 21

def format_duration_simple(seconds)
  seconds
end