This Concordion extension provides the capability to embed the processing time of each specification example at runtime.
The demo project demonstrates this extension.
Often it is useful to know how long a given example takes to run. This extension provides this by printing the timing to screen for each example. The functionality can be toggled on or off via a toggle button located at the top right of the results screen.
How to install
How to use
Add to your test fixture one of these options
With no configuration
@Extensions(value = TimerExtension.class)
With comprehensive configuration
@Extension ConcordionExtension TimingExtension = new TimerExtension() .withShowByDefault(true) .withIcon("/path/to/icon.png") .withTimeFormat(new SimpleTimeFormatter(" hours", " minutes", " seconds", " milliseconds"));