Sha256: bbaa786527bbe25afcf858de9ae303f5f0c7c7d278382cc2db404de44db1af8d

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 Bytes

Contents

class Teabag.Reporters.Console extends Teabag.Reporters.Console

  constructor: ->
    super
    angular.scenario.output("teabag", @bindScenarioOutput)


  bindScenarioOutput: (context, runner, model) =>
    model.on "runnerBegin", => @reportRunnerStarting(total: angular.scenario.Describe.specId)
    model.on "specEnd", (spec) => @reportSpecResults(spec)
    model.on "runnerEnd", => @reportRunnerResults()

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
teabag-0.7.3 app/assets/javascripts/teabag/angular/reporters/console.coffee
teabag-0.7.2 app/assets/javascripts/teabag/angular/reporters/console.coffee
teabag-0.7.1 app/assets/javascripts/teabag/angular/reporters/console.coffee
teabag-0.7.0 app/assets/javascripts/teabag/angular/reporters/console.coffee