Skip to content

Commit 33c3581

Browse files
Rreun featrure
1 parent 1431aae commit 33c3581

File tree

4 files changed

+78
-0
lines changed

4 files changed

+78
-0
lines changed
52.3 KB
Loading
104 KB
Loading
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
id: hyperexecute-rerun-failed-tests
3+
title: Rerun Failed Tests on HyperExecute
4+
hide_title: false
5+
sidebar_label: Rerun Failed Tests
6+
description: Optimize your workspace with HyperExecute job archiving to boost productivity. Keep only relevant jobs. Learn more!
7+
keywords:
8+
- LambdaTest Hyperexecute
9+
- LambdaTest Hyperexecute help
10+
- LambdaTest Hyperexecute documentation
11+
url: https://www.lambdatest.com/support/docs/hyperexecute-rerun-failed-tests/
12+
site_name: LambdaTest
13+
slug: hyperexecute-rerun-failed-tests/
14+
---
15+
16+
<script type="application/ld+json"
17+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
18+
"@context": "https://schema.org",
19+
"@type": "BreadcrumbList",
20+
"itemListElement": [{
21+
"@type": "ListItem",
22+
"position": 1,
23+
"name": "Home",
24+
"item": "https://www.lambdatest.com"
25+
},{
26+
"@type": "ListItem",
27+
"position": 2,
28+
"name": "Support",
29+
"item": "https://www.lambdatest.com/support/docs/"
30+
},{
31+
"@type": "ListItem",
32+
"position": 3,
33+
"name": "HyperExecute Concepts",
34+
"item": "https://www.lambdatest.com/support/docs/hyperexecute-rerun-failed-tests/"
35+
}]
36+
})
37+
}}
38+
></script>
39+
Debugging test failures often involves identifying the root cause, fixing the issue, and rerunning tests to validate the fix. However, in large test suites with hundreds or thousands of tests, rerunning the entire job consumes significant time and resources.
40+
41+
To address this, HyperExecute introduces Rerun Failed Tests, a feature that allows you to rerun only the failed tests or scenarios from a previous job, drastically reducing your feedback loop and helping you validate fixes faster.
42+
43+
## Why Use Rerun Failed Tests?
44+
Consider a scenario where you’ve executed 1000 tests in a single HyperExecute job, and 50 tests failed due to a bug, either in your test code, infrastructure, or application under test. Previously, you’d need to rerun the entire job to verify the fix. With **Rerun Failed Tests**, you can now:
45+
- Quickly identify failed tests via RCA (Root Cause Analysis).
46+
- Apply your fix (in code or application).
47+
- Rerun only failed tests from the same job, instead of re-running the entire suite.
48+
49+
This shortens your CI/CD cycle, saves compute time, and accelerates feedback.
50+
<!--
51+
## Types of Rerun
52+
53+
| Rerun Type | Description | Use Case |
54+
| ---------- | ----------- | -------- |
55+
| **Rerun Complete Job** | Reruns the entire workflow from scratch | Useful when the fix impacts multiple parts of the codebase or environment |
56+
| **Rerun Failed Scenarios Only** | Reruns only the failed test cases or scenarios from the selected job | Ideal for quick validation of specific fixes | -->
57+
58+
## How to Rerun Failed Tests
59+
60+
**Step 1 :** Go to the Jobs section in the HyperExecute Dashboard.
61+
62+
**Step 2 :** Open the job you want to rerun. Click on the **Rerun** button
63+
64+
<img loading="lazy" src={require('../assets/images/hyperexecute/features/rerun/1.png').default} alt="Image" className="doc_img"/>
65+
66+
**Step 3 :** Select the **Commit** whether you want to rerun with the same commit or with the latest one and select the Concurrency as well. Click on the **Rerun** button.
67+
68+
<img loading="lazy" src={require('../assets/images/hyperexecute/features/rerun/2.png').default} alt="Image" className="doc_img"/>
69+
70+
HyperExecute will automatically trigger a new job referencing the same commit or sourcePayload.
71+
72+
## Benefits
73+
- **Reduce feedback loop time :** no need to rerun full test suites.
74+
- **Save resources :** run only what failed.
75+
- **Simplify debugging :** rerun failed scenarios directly after applying fixes.
76+
- **Integrates seamlessly :** works across Dashboard, CLI, and APIs.
77+
- Supports same or latest commit reruns.

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ module.exports = {
198198
label: "Test Metrics",
199199
id: "hyperexecute-task-metrics",
200200
},
201+
"hyperexecute-rerun-failed-tests"
201202
],
202203
},
203204
{

0 commit comments

Comments
 (0)