All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.default.tables.ftlh Maven / Gradle / Ivy

Go to download

The part of the Cucumber Reports library directly responsible for reports generation.

The newest version!
<#assign Math=statics['java.lang.Math'] >
<#macro drawOverviewStatsTable stats>

PassedFailedKnownUndefinedTotal%Passed
Features ${stats.getFeaturesPassed()} ${stats.getFeaturesFailed()} ${stats.getFeaturesKnown()} ${stats.getFeaturesUndefined()} ${stats.getFeaturesTotal()} <#if stats.getFeaturesTotal() == 0> NaN <#else> #{100 * (stats.getFeaturesPassed() + stats.getFeaturesKnown()) / stats.getFeaturesTotal() ;M0}%
Scenarios ${stats.getScenariosPassed()} ${stats.getScenariosFailed()} ${stats.getScenariosKnown()} ${stats.getScenariosUndefined()} ${stats.getScenariosTotal()} <#if stats.getScenariosTotal() == 0> NaN <#else> #{100 * (stats.getScenariosPassed() + stats.getScenariosKnown()) / stats.getScenariosTotal() ;M0}%
Steps ${stats.getStepsPassed()} ${stats.getStepsFailed()} ${stats.getStepsKnown()} ${stats.getStepsUndefined()} ${stats.getStepsTotal()} <#if stats.getStepsTotal() == 0> NaN <#else> #{100 * (stats.getStepsPassed() + stats.getStepsKnown()) / stats.getStepsTotal() ;M0}%
Overall Duration: ${(stats.overallDuration/3600)?string["0;; roundingMode=floor"]}h ${((stats.overallDuration % 3600) / 60)?string["00"]}m ${((stats.overallDuration % 3600) % 60)?string["00"]}s




© 2015 - 2024 Weber Informatics LLC | Privacy Policy