
net.masterthought.cucumber.json.support.Argument 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 (Behaviour-Driven Development). It works by generating html from the
cucumber json report formatter. So can be used anywhere a json report is generated. Current use is in the
cucumber jenkins plugin and a maven mojo to generate the same report from mvn command line when running locally.
package net.masterthought.cucumber.json.support;
import net.masterthought.cucumber.json.Row;
/**
* Protractor implementation uses this for the step parameter.
*
* @author Damian Szczepanik (damianszczepanik@github)
*/
public class Argument {
// Start: attributes from JSON file report
private final Row[] rows = new Row[0];
private final String val = null;
private final Integer offset = null;
// End: attributes from JSON file report
public Row[] getRows() {
return rows;
}
public String getVal() {
return val;
}
public Integer getOffset() {
return offset;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy