All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gherkin.formatter.Reporter Maven / Gradle / Ivy

There is a newer version: 2.12.2
Show newest version
package gherkin.formatter;

import gherkin.formatter.model.Match;
import gherkin.formatter.model.Result;

/**
 * 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,
 */
public interface Reporter {
    void before(Match match, Result result);

    void result(Result result);

    void after(Match match, Result result);

    void match(Match match);

    void embedding(String mimeType, byte[] data);

    void write(String text);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy