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

freemarker.home.ftl Maven / Gradle / Ivy




    

    
    

    Serenity Reports

    

    <#include "libraries/common.ftl">
    <#include "libraries/jquery-ui.ftl">
    <#include "libraries/datatables.ftl">
    <#assign pie = true>
    <#include "libraries/jqplot.ftl">

    <#include "components/tag-list.ftl">
    <#include "components/test-outcomes.ftl">


<#assign successfulManualTests = (testOutcomes.count("manual").withResult("SUCCESS") > 0)>
<#assign pendingManualTests = (testOutcomes.count("manual").withResult("PENDING") > 0)>
<#assign ignoredManualTests = (testOutcomes.count("manual").withResult("IGNORED") > 0)>
<#assign failingManualTests = (testOutcomes.count("manual").withResult("FAILURE") > 0)>

    



${reportOptions.projectName}
<#assign tagsTitle = 'Related Tags' > <#if (testOutcomes.label == '')> <#assign resultsContext = ''> <#assign pageTitle = 'Test Results: All Tests' > <#else> <#assign resultsContext = '> ' + testOutcomes.label> <#if (currentTagType! != '')> <#assign pageTitle = " " + inflection.of(currentTagType!"").asATitle() + ': ' + inflection.of(testOutcomes.label).asATitle() > <#else> <#assign pageTitle = inflection.of(testOutcomes.label).asATitle() >
<#--
-->
Home <#if (breadcrumbs?has_content)> <#list breadcrumbs as breadcrumb> <#assign breadcrumbReport = absoluteReportName.forRequirementOrTag(breadcrumb) /> <#assign breadcrumbTitle = inflection.of(breadcrumb.shortName).asATitle() > > ${formatter.truncatedHtmlCompatible(breadcrumbTitle,30)} <#else> <#if currentTagType?has_content> > ${inflection.of(currentTagType!"").asATitle()} <#if testOutcomes.label?has_content> > ${formatter.truncatedHtmlCompatible(inflection.of(testOutcomes.label).asATitle(),80)}
<#include "menu.ftl"> <@main_menu selected="home" />

${pageTitle}

${testOutcomes.totalTestScenarios} test scenarios <#if (testOutcomes.hasDataDrivenTests())>(${testOutcomes.total} tests in all, including ${testOutcomes.totalDataRows} rows of test data)
<#assign successReport = reportName.withPrefix(currentTag).forTestResult("success") > <#assign failureReport = reportName.withPrefix(currentTag).forTestResult("failure") > <#assign errorReport = reportName.withPrefix(currentTag).forTestResult("error") > <#assign compromisedReport = reportName.withPrefix(currentTag).forTestResult("compromised") > <#assign pendingReport = reportName.withPrefix(currentTag).forTestResult("pending") > <#assign skippedReport = reportName.withPrefix(currentTag).forTestResult("skipped") > <#assign ignoredReport = reportName.withPrefix(currentTag).forTestResult("ignored") > <#assign totalCount = testOutcomes.totalTests.total > <#assign successCount = testOutcomes.totalTests.withResult("success") > <#assign pendingCount = testOutcomes.totalTests.withResult("pending") > <#assign ignoredCount = testOutcomes.totalTests.withResult("ignored") > <#assign skippedCount = testOutcomes.totalTests.withResult("skipped") > <#assign failureCount = testOutcomes.totalTests.withResult("failure") > <#assign errorCount = testOutcomes.totalTests.withResult("error") > <#assign compromisedCount = testOutcomes.totalTests.withResult("compromised") > ${successCount} <#if (successCount > 0 && report.shouldDisplayResultLink)> passed <#else>passed, ${pendingCount} <#if (pendingCount > 0 && report.shouldDisplayResultLink)> pending <#else>pending, ${failureCount} <#if (failureCount > 0 && report.shouldDisplayResultLink)> failed <#else>failed, ${errorCount} <#if (errorCount > 0 && report.shouldDisplayResultLink)> with errors <#else>errors, ${compromisedCount} <#if (compromisedCount > 0 && report.shouldDisplayResultLink)> compromised tests <#else>compromised, ${ignoredCount} <#if (ignoredCount > 0 && report.shouldDisplayResultLink)> ignored <#else>ignored, ${skippedCount} <#if (skippedCount > 0 && report.shouldDisplayResultLink)> skipped <#else>skipped <#if (csvReport! != '')> [CSV]
Total number of tests that pass, fail, or are pending. Show/Hide Pie Chart
Test results weighted by test size in steps (average steps per test: ${testOutcomes.averageTestSize}) . Show/Hide Pie Chart
<@test_results testOutcomes=testOutcomes title="Tests" id="test-results-table"/>
Serenity version ${serenityVersionNumber}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy