Sha256: 218d55fe4ac88f0af458e141cdc6deba0ec031de58734ae4338b12b3df7bd35d
Contents?: true
Size: 748 Bytes
Versions: 9
Compression:
Stored size: 748 Bytes
Contents
module Spec module Runner module Formatter class SpecdocFormatter < BaseTextFormatter def add_behaviour(name) @output.puts @output.puts name @output.flush end def example_failed(name, counter, failure) @output.puts failure.expectation_not_met? ? red("- #{name} (FAILED - #{counter})") : magenta("- #{name} (ERROR - #{counter})") @output.flush end def example_passed(name) @output.puts green("- #{name}") @output.flush end def example_not_implemented(name) @output.puts yellow("- #{name} (NOT IMPLEMENTED)") @output.flush end end end end end
Version data entries
9 entries across 9 versions & 2 rubygems