net.masterthought.cucumber.util.Functions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-reporting Show documentation
Show all versions of cucumber-reporting Show documentation
Provides pretty html reports for Cucumber. It works by generating html from the cucumber json file.
//package net.masterthought.cucumber.util;
//
//import com.googlecode.totallylazy.Function1;
//import net.masterthought.cucumber.json.Step;
//import net.masterthought.cucumber.json.Tag;
//
//public class Functions {
//
// public static Function1 scenarioStatus() {
// return new Function1() {
// @Override
// public Util.Status call(Step step) throws Exception {
// return step.getStatus();
// }
// };
// }
//
// public static Function1 tagName() {
// return new Function1() {
// @Override
// public String call(Tag tag) throws Exception {
// return tag.getName();
// }
// };
// }
//}