Sha256: d7404cfa61a5130f0b0d2fa9263be73dfc1f63b35be0f90f1c4e965d414e0e2c

Contents?: true

Size: 415 Bytes

Versions: 7

Compression:

Stored size: 415 Bytes

Contents

class Teaspoon.Reporters.Console extends Teaspoon.Reporters.Console

  constructor: ->
    super
    angular.scenario.output("teaspoon", @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

7 entries across 7 versions & 1 rubygems

Version Path
teaspoon-0.8.0 app/assets/javascripts/teaspoon/angular/reporters/console.coffee
teaspoon-0.7.9 app/assets/javascripts/teaspoon/angular/reporters/console.coffee
teaspoon-0.7.8 app/assets/javascripts/teaspoon/angular/reporters/console.coffee
teaspoon-0.7.7 app/assets/javascripts/teaspoon/angular/reporters/console.coffee
teaspoon-0.7.6 app/assets/javascripts/teaspoon/angular/reporters/console.coffee
teaspoon-0.7.5 app/assets/javascripts/teaspoon/angular/reporters/console.coffee
teaspoon-0.7.4 app/assets/javascripts/teaspoon/angular/reporters/console.coffee