gherkin.formatter
Interface Reporter

All Known Implementing Classes:
JSONFormatter, JSONPrettyFormatter, PrettyFormatter

public interface Reporter

Interface for reporting results. This is a different interface from Formatter, which also knows how to print gherkin source. They are separate, because some Reporter implementations (such as Cucumber's JUnitReporter) only cares about results,


Method Summary
 void after(Match match, Result result)
           
 void before(Match match, Result result)
           
 void embedding(String mimeType, byte[] data)
           
 void match(Match match)
           
 void result(Result result)
           
 void write(String text)
           
 

Method Detail

before

void before(Match match,
            Result result)

result

void result(Result result)

after

void after(Match match,
           Result result)

match

void match(Match match)

embedding

void embedding(String mimeType,
               byte[] data)

write

void write(String text)


Copyright © 2012. All Rights Reserved.