class Hydra::Listener::MinimalOutput

Minimal output listener. Outputs all the files at the start of testing and outputs a ./F/E per file. As well as full error output, if any.

Public Instance Methods

file_end(file, output) click to toggle source

For each file, just output a . for a successful file, or the Failure/Error output from the tests

# File lib/hydra/listener/minimal_output.rb, line 19
def file_end(file, output)
  @output.write output
end
testing_begin(files) click to toggle source

output a starting message

# File lib/hydra/listener/minimal_output.rb, line 8
def testing_begin(files)
  @output.write "Hydra Testing:\n#{files.inspect}\n"
end
testing_end() click to toggle source

output a finished message

# File lib/hydra/listener/minimal_output.rb, line 13
def testing_end
  @output.write "\nHydra Completed\n"
end