net.masterthought.cucumber.json.support.Durationable 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.json.support;
/**
* Ensures that class delivers methods for duration.
*
* @author Damian Szczepanik (damianszczepanik@github)
*/
public interface Durationable {
/**
* Returns duration for given item.
*
* @return duration
*/
long getDuration();
/**
* Returns duration displayed in humanable format.
*
* @return formatted duration
*/
String getFormattedDuration();
}