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

freemarker.home.ftl Maven / Gradle / Ivy




    

    
    

    Serenity Reports

    <#include "libraries/favicon.ftl">

    <#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 manualTests = testOutcomes.count("manual")>
<#assign automatedTests = testOutcomes.count("automated")>

<#assign successfulManualTests = (manualTests.withResult("SUCCESS") > 0)>
<#assign pendingManualTests = (manualTests.withResult("PENDING") > 0)>
<#assign ignoredManualTests = (manualTests.withResult("IGNORED") > 0)>
<#assign failingManualTests = (manualTests.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 (parentTag?has_content && parentTag.name! != '')> <#assign titleContext = " (with " + inflection.of(parentTag.type!"").asATitle() + " " + inflection.of(parentTag.name!"").asATitle() + ")" > <#else> <#assign titleContext = "" > <#if (breadcrumbs?has_content)> <#list breadcrumbs as breadcrumb> <#assign breadcrumbReport = absoluteReportName.forRequirementOrTag(breadcrumb) /> <#assign breadcrumbTitle = inflection.of(breadcrumb.shortName).asATitle() > <#assign breadcrumbType = inflection.of(breadcrumb.type).asATitle() > > <#--${formatter.htmlCompatible(breadcrumbTitle)}--> ${formatter.htmlCompatibleStoryTitle(breadcrumbTitle)} <#else> <#if currentTagType?has_content> > ${inflection.of(currentTagType!"").asATitle()} ${titleContext} <#if testOutcomes.label?has_content> <#--> ${formatter.truncatedHtmlCompatible(inflection.of(testOutcomes.label).asATitle(),60)}--> > ${formatter.htmlCompatibleStoryTitle(inflection.of(testOutcomes.label).asATitle())}
<#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 brokenReport = reportName.withPrefix(currentTag).forTestResult("broken") > <#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.totalScenarios.total > <#assign successCount = testOutcomes.totalScenarios.withResult("success") > <#assign pendingCount = testOutcomes.totalScenarios.withResult("pending") > <#assign ignoredCount = testOutcomes.totalScenarios.withResult("ignored") > <#assign skippedCount = testOutcomes.totalScenarios.withResult("skipped") > <#assign failureCount = testOutcomes.totalScenarios.withResult("failure") > <#assign errorCount = testOutcomes.totalScenarios.withResult("error") > <#assign brokenCount = failureCount + errorCount > <#assign compromisedCount = testOutcomes.totalScenarios.withResult("compromised") > <#if (successCount > 0)> | ${successCount} <#if (report.shouldDisplayResultLink)> passed <#else>passed <#if (pendingCount > 0)> | ${pendingCount} <#if (report.shouldDisplayResultLink)> pending <#else>pending <#if (brokenCount > 0)> | ${brokenCount} <#if (report.shouldDisplayResultLink)> unsuccessful <#else>unsuccessful ( ${failureCount} <#if (report.shouldDisplayResultLink)> failed <#else>failed, ${errorCount} <#if (report.shouldDisplayResultLink && errorCount gt 0)> with errors <#else>errors ) <#if (compromisedCount > 0)> | ${compromisedCount} <#if (report.shouldDisplayResultLink)> compromised tests <#else>compromised <#if (ignoredCount > 0)> | ${ignoredCount} <#if (report.shouldDisplayResultLink)> ignored <#else>ignored <#if (skippedCount > 0)> | ${skippedCount} <#if (skippedCount > 0 && report.shouldDisplayResultLink)> skipped <#else>skipped <#if testOutcomes.haveFlags()> | <#list testOutcomes.flags as flag> <#assign flagTitle = inflection.of(flag.message).inPluralForm().asATitle() > <#assign flagTag = "flag_${inflection.of(flag.message).asATitle()}" > <#assign flagReport = reportName.forTag(flagTag) > <#assign flagCount = testOutcomes.flagCountFor(flag)> ${flagTitle} (${flagCount}) <#if (csvReport! != '')> |
Distribution of tests (including rows in data-driven tests) by test result. Show/Hide Pie Chart
Test results weighted by test size in steps (average steps per test: ${testOutcomes.averageTestSize?round}) . Show/Hide Pie Chart
<@test_results testOutcomes=testOutcomes title="Tests" id="test-results-table"/>
Serenity version ${serenityVersionNumber}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy