com.excella.gradle.cucumber
Class AsYouGoFormatter

java.lang.Object
  extended by gherkin.formatter.PrettyFormatter
      extended by com.excella.gradle.cucumber.AsYouGoFormatter
All Implemented Interfaces:
gherkin.formatter.Formatter, gherkin.formatter.Reporter, java.io.Closeable

public class AsYouGoFormatter
extends gherkin.formatter.PrettyFormatter

A PrettyFormatter, which attempts to flush the output at various stages of the execution. Otherwise, it usually gets buffered and you only see it when everything is finished.


Constructor Summary
AsYouGoFormatter(java.lang.Appendable out)
           
 
Method Summary
 void background(gherkin.formatter.model.Background background)
           
 void eof()
           
 void scenario(gherkin.formatter.model.Scenario scenario)
           
 void scenarioOutline(gherkin.formatter.model.ScenarioOutline scenarioOutline)
           
 
Methods inherited from class gherkin.formatter.PrettyFormatter
after, before, close, docString, done, embedding, endOfScenarioLifeCycle, examples, feature, match, nextRow, result, row, setMonochrome, startOfScenarioLifeCycle, step, syntaxError, table, uri, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsYouGoFormatter

public AsYouGoFormatter(java.lang.Appendable out)
Method Detail

background

public void background(gherkin.formatter.model.Background background)
Specified by:
background in interface gherkin.formatter.Formatter
Overrides:
background in class gherkin.formatter.PrettyFormatter

scenario

public void scenario(gherkin.formatter.model.Scenario scenario)
Specified by:
scenario in interface gherkin.formatter.Formatter
Overrides:
scenario in class gherkin.formatter.PrettyFormatter

scenarioOutline

public void scenarioOutline(gherkin.formatter.model.ScenarioOutline scenarioOutline)
Specified by:
scenarioOutline in interface gherkin.formatter.Formatter
Overrides:
scenarioOutline in class gherkin.formatter.PrettyFormatter

eof

public void eof()
Specified by:
eof in interface gherkin.formatter.Formatter
Overrides:
eof in class gherkin.formatter.PrettyFormatter