You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -131,7 +131,7 @@ It contains the following attributes:
131
131
type: raw #or
132
132
133
133
#(Advanced). For more advanced use cases.
134
-
type: automatic
134
+
type: automatic
135
135
```
136
136
137
137
**`type: raw`**
@@ -151,36 +151,37 @@ type: automatic
151
151
In summary, `type:raw` is a basic and straightforward approach for discovering tests based on a specified command, while `type:automatic` provides more flexibility and advanced capabilities by leveraging external tools and backend logic.
152
152
153
153
#### `mode`
154
-
This attribute defines where the test discovery occurs and how it is executed. HyperExecute now supports three discovery modes: `static`, `dynamic`, and `remote`.
154
+
This attribute defines where the test discovery occurs and how it is executed. HyperExecute now supports three discovery modes: `local`, and `remote`.
155
155
156
156
```yaml
157
157
#test discovery happens on machine where CLI is running
158
-
mode: static #or
159
-
160
-
#test discovery happens on HyperExecute VMs
161
-
mode: dynamic #or
158
+
mode: local #or
162
159
163
160
# test discovery happens in designated HyperExecute VMs
164
161
mode: remote
165
162
```
166
-
**`mode: static`**
163
+
<!-- #test discovery happens on HyperExecute VMs
164
+
mode: dynamic #or -->
165
+
**`mode: local`**
167
166
168
167
- **Purpose:** Test discovery is performed locally on the machine where the CLI is running.
169
168
- **Use Case:** Ideal for small projects or when tests need to be discovered locally.
170
169
- **Limitations:** Requires dependencies installed locally and doesn’t support matrix-based distributions. Debugging logs are generated locally, limiting visibility.
171
170
172
-
**`mode: dynamic`**
171
+
<!-- **`mode: dynamic`**
173
172
174
173
- **Purpose:** Test discovery occurs on HyperExecute’s VMs during runtime, depending on the concurrency and OS settings.
175
174
- **Use Case:** Suitable for scenarios where distributed test discovery is required across different VMs.
176
-
- **Limitations:** Increases test execution time due to VM-level discovery. It also lacks efficient test distribution across VMs, and is incompatible with YAML 0.2 test discovery runners.
175
+
- **Limitations:** Increases test execution time due to VM-level discovery. It also lacks efficient test distribution across VMs, and is incompatible with YAML 0.2 test discovery runners. -->
The `remote` discovery mode addresses the limitations of both `static` and `dynamic` modes. Instead of running test discovery on your local machine (static) or on multiple Virtual Machines (dynamic), this mode centralizes the process by using a dedicated remote Virtual Machines.
179
+
The `remote` discovery mode addresses the limitations of `local` modes. Instead of running test discovery on your local machine (local), this mode centralizes the process by using a dedicated remote Virtual Machines.
181
180
182
181
This setup helps to ease the discovery process and makes it more efficient, especially for complex test setups. Additionally, it fully supports [matrix-based testing](https://www.lambdatest.com/support/docs/hyperexecute-matrix-multiplexing-strategy/), which allows you to discover and manage tests across different configurations more effectively.
183
182
183
+
> **NOTE :** [`type`](/support/docs/deep-dive-into-hyperexecute-yaml/#type) is not required with remote discovery.
184
+
184
185
#### Key Features:
185
186
- **Centralized Discovery Tasks:** Tests are discovered remotely in a Virtual Machines designed for this purpose. Discovery tasks focus solely on identifying the tests without executing them, optimizing the discovery process.
186
187
@@ -193,13 +194,13 @@ This setup helps to ease the discovery process and makes it more efficient, espe
193
194
- **Code Caching:** For users cloning their codebase via Git, Remote Discovery caches the code during the discovery task, reducing Git rate limits and accelerating the execution tasks.
194
195
195
196
#### `command`
196
-
The command that fetches the list of test scenario that would be further executed using the value passed in testRunnerCommand
197
+
The command that fetches the list of test scenario that would be further executed using the value passed in `testRunnerCommand`
0 commit comments