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

templates.macros.report.statsTable.vm Maven / Gradle / Ivy

Go to download

Provides pretty html reports for Cucumber. It works by generating html from the cucumber json file.

There is a newer version: 5.8.2
Show newest version
#macro(includeStatsTable, $table_key, $parallel, $items, $report_summary)


  #includeReportHeader($table_key, $parallel)

  
    #foreach($item in $items)
      
        #if ($parallel)
          
        #end

        
    #end
  
      #if ($parallel)
        
      #end
      
      #if ($parallel)
        
      #end
      
$item.getName()$item.getDeviceName() 0) class="passed" #end>$item.getPassedSteps() 0) class="failed" #end>$item.getFailedSteps() 0) class="skipped" #end>$item.getSkippedSteps() 0) class="pending" #end>$item.getPendingSteps() 0) class="undefined" #end>$item.getUndefinedSteps() $item.getSteps() 0) class="passed" #end>$item.getPassedScenarios() 0) class="failed" #end>$item.getFailedScenarios() $item.getScenarios() $item.getFormattedDuration() $item.getStatus().getLabel()
-$report_summary.getPassedSteps() $report_summary.getFailedSteps() $report_summary.getSkippedSteps() $report_summary.getPendingSteps() $report_summary.getUndefinedSteps() $report_summary.getSteps() $report_summary.getPassedScenarios() $report_summary.getFailedScenarios() $report_summary.getScenarios() $report_summary.getFormattedDuration() $items.size()
-$util.formatAsPercentage($report_summary.getPassedSteps(), $report_summary.getSteps()) $util.formatAsPercentage($report_summary.getFailedSteps(), $report_summary.getSteps()) $util.formatAsPercentage($report_summary.getSkippedSteps(), $report_summary.getSteps()) $util.formatAsPercentage($report_summary.getPendingSteps(), $report_summary.getSteps()) $util.formatAsPercentage($report_summary.getUndefinedSteps(), $report_summary.getSteps()) $util.formatAsPercentage($report_summary.getPassedScenarios(), $report_summary.getScenarios()) $util.formatAsPercentage($report_summary.getFailedScenarios(), $report_summary.getScenarios()) $util.formatAsPercentage($report_summary.getPassedFeatures(), $report_summary.getFeatures())
#end




© 2015 - 2024 Weber Informatics LLC | Privacy Policy