Package io.cucumber.core.plugin
Class UsageFormatter
- java.lang.Object
-
- io.cucumber.core.plugin.UsageFormatter
-
- All Implemented Interfaces:
EventListener,Plugin
public final class UsageFormatter extends Object implements Plugin, EventListener
Formatter to measure performance of steps. Includes average and median step duration.
-
-
Constructor Summary
Constructors Constructor Description UsageFormatter(Appendable out)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetEventPublisher(EventPublisher publisher)
-
-
-
Constructor Detail
-
UsageFormatter
public UsageFormatter(Appendable out)
Constructor- Parameters:
out-Appendableto print the result
-
-
Method Detail
-
setEventPublisher
public void setEventPublisher(EventPublisher publisher)
- Specified by:
setEventPublisherin interfaceEventListener
-
-