Sha256: 6758611320087e7bf0da0c8b13711a54e7938a25cb9eb5cd9c5c4da1018ae58f
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
require "teaspoon/formatter/base" require "teaspoon/formatter/modules/report_module" module Teaspoon module Formatter class Dot < Base include ReportModule protected def log_spec(result) return log_str(".", GREEN) if result.passing? return log_str("*", YELLOW) if result.pending? log_str("F", RED) end def log_console(message) log_str(message) end def log_result(result) log_line("\n") super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
teaspoon-1.4.0 | lib/teaspoon/formatter/dot.rb |
teaspoon-1.2.2 | lib/teaspoon/formatter/dot.rb |
teaspoon-1.2.1 | lib/teaspoon/formatter/dot.rb |
teaspoon-1.2.0 | lib/teaspoon/formatter/dot.rb |