Skip to content

Commit 09253e5

Browse files
Aman1905Ishavyas9
authored andcommitted
karate reports - hyperexecute
1 parent 36c33f3 commit 09253e5

File tree

4 files changed

+63
-2
lines changed

4 files changed

+63
-2
lines changed
101 KB
Loading

docs/hyperexecute-job-reports.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,7 @@ The [Error Categorization Report](/support/docs/error-categorization-report/) re
100100
- Downloadable data for thorough analysis and resolution.
101101

102102
## JUnit XML Report
103-
The [JUnit XML Report](/support/docs/junit-xml-report/) provides a summary of test results conducted on [Date and Time]. The tests are organized into multiple test suites, with detailed information on execution time, status, and individual test cases.
103+
The [JUnit XML Report](/support/docs/junit-xml-report/) provides a summary of test results conducted on [Date and Time]. The tests are organized into multiple test suites, with detailed information on execution time, status, and individual test cases.
104+
105+
## Karate Report
106+
[Karate Reports](/support/docs/karate-report/) provide a comprehensive overview of your test execution results, offering detailed insights into test performance, coverage, and failures. With visually appealing and interactive HTML reports, you can quickly analyze test outcomes, debug issues, and share results across teams. These reports are seamlessly integrated into Karate's powerful testing framework, ensuring clarity and efficiency in your test automation journey.

docs/karate-report.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
id: karate-report
3+
title: Karate Report
4+
hide_title: false
5+
sidebar_label: Karate
6+
description: Streamline error analysis with the Error Categorization Report. Identify patterns in test failures to enhance quality and efficiency in your testing process.
7+
keywords:
8+
- cucumber testing reports
9+
- karate report lambdatest
10+
url: https://www.lambdatest.com/support/docs/karate-report/
11+
site_name: LambdaTest
12+
slug: karate-report/
13+
---
14+
<script type="application/ld+json"
15+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
16+
"@context": "https://schema.org",
17+
"@type": "BreadcrumbList",
18+
"itemListElement": [{
19+
"@type": "ListItem",
20+
"position": 1,
21+
"name": "LambdaTest",
22+
"item": "https://www.lambdatest.com"
23+
},{
24+
"@type": "ListItem",
25+
"position": 2,
26+
"name": "Support",
27+
"item": "https://www.lambdatest.com/support/docs/"
28+
},{
29+
"@type": "ListItem",
30+
"position": 3,
31+
"name": "Karate Report",
32+
"item": "https://www.lambdatest.com/support/docs/karate-report/"
33+
}]
34+
})
35+
}}
36+
></script>
37+
Karate framework supports generating detailed test execution reports that help visualize test results and insights. On HyperExecute, you can run your Karate tests and configure it to generate and download these reports seamlessly.
38+
39+
> Ensure your project is configured with the **Karate framework** and all test scripts are in place.
40+
41+
## Steps to Generate Karate Reports on HyperExecute
42+
43+
**Step 1:** Configure all the necessary dependencies and configurations to your project.
44+
45+
**Step 2:** Configure the report parameters in the HyperExecute YAML file.
46+
47+
```yaml
48+
report: true
49+
partialReports:
50+
location: target
51+
type: html
52+
frameworkName: karate
53+
```
54+
55+
**Step 3:** Now execute your job by triggering the HyperExecute CLI. You can visit the HyperExecute dashboard to download the report after job completion.
56+
57+
<img loading="lazy" src={require('../assets/images/hyperexecute/knowledge-base/reports/karate-reports.png').default} alt="Image" className="doc_img"/>

sidebars.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,8 @@ module.exports = {
780780
"specflow-report",
781781
"cypress-mochaawesome-report",
782782
"error-categorization-report",
783-
"junit-xml-report"
783+
"junit-xml-report",
784+
"karate-report"
784785
],
785786
},
786787

0 commit comments

Comments
 (0)