com.shaft.tools.internal.support.HTMLHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SHAFT_ENGINE Show documentation
Show all versions of SHAFT_ENGINE Show documentation
SHAFT is a unified test automation engine. Powered by best-in-class frameworks, SHAFT provides a
wizard-like syntax to drive your automation efficiently, maximize your ROI, and minimize your learning curve.
Stop reinventing the wheel. Upgrade now!
package com.shaft.tools.internal.support;
@SuppressWarnings("SpellCheckingInspection")
public enum HTMLHelper {
CHECKPOINT_COUNTER("""
Checkpoints Report
Checkpoints Report
Summary
Total: ${CHECKPOINTS_TOTAL} | Passed: ${CHECKPOINTS_PASSED} | Failed: ${CHECKPOINTS_FAILED}
Details
ID
Type
Message
Status
${CHECKPOINTS_DETAILS}
"""),
CHECKPOINT_DETAILS_FORMAT("%d %s %s %s "),
EXECUTION_SUMMARY("""
Execution Summary Report
Execution Summary Report
${DATE}
${START_TIME} - ${END_TIME} (${TOTAL_TIME})
${CASES_PASSED_PERCENTAGE}%
Total Cases: ${CASES_TOTAL}  [
Passed: ${CASES_PASSED} |
Failed: ${CASES_FAILED} |
Skipped: ${CASES_SKIPPED} ]
Total Validations: ${VALIDATION_TOTAL}  [
Passed: ${VALIDATION_PASSED} |
Failed: ${VALIDATION_FAILED} ]
${VALIDATION_PASSED_PERCENTAGE}%
Total Issues: ${TOTAL_ISSUES}  [
No Open issues for Failed Tests: ${NO_OPEN_ISSUES_FAILED} |
Open issues for Passed Tests: ${OPEN_ISSUES_PASSED} |
Open issues for Failed Tests: ${OPEN_ISSUES_FAILED} ]
Test Cases Details
Id
Suite
Name
Error
Status
Has issue
${CASES_DETAILS}
If you need more information and extra debugging capabilities, please open the Allure report.
"""),
EXECUTION_SUMMARY_DETAILS_FORMAT("%d %s %s %s %s %s ");
private final String value;
HTMLHelper(String type) {
this.value = type;
}
public String getValue() {
return value;
}
}