Sha256: eebae82f61c694a4589d282557ca04de021c36dfb4966eebf5a91506fb89a63b
Contents?: true
Size: 608 Bytes
Versions: 9
Compression:
Stored size: 608 Bytes
Contents
class Teaspoon.Reporters.Console extends Teaspoon.Reporters.Console constructor: (env) -> super env.log(@reportSpecResults) env.testDone(@reportSpecResults) env.done(@reportRunnerResults) @reportRunnerStarting() reportRunnerStarting: -> @currentAssertions = [] @log type: "runner" total: null start: JSON.parse(JSON.stringify(@start)) reportSpecResults: (result) => unless typeof(result.total) == "number" @currentAssertions.push(result) return result.assertions = @currentAssertions @currentAssertions = [] super(result)
Version data entries
9 entries across 9 versions & 1 rubygems