Skip to content

Latest commit

 

History

History
60 lines (53 loc) · 2.27 KB

junit-xml-report.md

File metadata and controls

60 lines (53 loc) · 2.27 KB
id title hide_title sidebar_label description keywords url site_name slug
junit-xml-report
JUnit XML Report
false
JUnit XML
Generate a consolidated JUnit XML report with HyperExecute. Track test results, including pass/fail statuses, with easy-to-follow configuration steps
junit xml reports
report junit xml lambdatest
LambdaTest
junit-xml-report/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "LambdaTest", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "JUnit XML Report", "item": "https://www.lambdatest.com/support/docs/junit-xml-report/" }] }) }} ></script>

A JUnit XML report is an XML-based test result file format used to represent the results of test executions, particularly unit tests. The XML report provides detailed information about the tests run, including which tests passed, failed, were skipped, and any associated error messages.

Steps to Generate Consolidated JUnit XML Report

Follow these steps to generate a consolidated JUnit XML report:

Step 1: Update Your Project Configuration

Configure all the necessary dependencies and configurations to your project.

Step 2: Configure the HyperExecute YAML File

In your HyperExecute YAML configuration, define the report parameters like this:

report: true
partialReports:
    frameworkName: junit
    location: reports/
    type: xml

Step 3: Execute Your Tests

Run your tests on HyperExecute using the CLI. After your job completes, you can visit the HyperExecute dashboard to download and view the consolidated junit xml report.

<img loading="lazy" src={require('../assets/images/hyperexecute/knowledge-base/reports/junit-xml-report.png').default} alt="Image" className="doc_img"/>