Skip to content

Commit a45b346

Browse files
authored
Merge pull request LambdaTest#1501 from amanchopra1905/stage
hyp cli and yaml updates
2 parents 3e15ae6 + 8468c3e commit a45b346

File tree

4 files changed

+26
-8
lines changed

4 files changed

+26
-8
lines changed
55.3 KB
Loading
62.6 KB
Loading

docs/deep-dive-into-hyperexecute-yaml.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,6 +1393,7 @@ if your test loads jquery static library multiple times and for some reason it i
13931393

13941394
### `afterAll`
13951395
> This flag is deprecated, instead use [`globalPost`](/support/docs/deep-dive-into-hyperexecute-yaml/#globalpost)
1396+
13961397
It is used to run commands after the job has finished. Currently only local directive is allowed, means that all the commands would be run on the same host on which HyperExecute CLI was run. Running commands in `afterAll` on HyperExecute VMs(remote commands) is not yet supported. Users will have access to all the artifacts when these commands would be run.
13971398
```yaml
13981399
afterAll:
@@ -1409,6 +1410,7 @@ For instance you want to further process the artifacts and create a custom PDF.
14091410

14101411
## `beforeAll`
14111412
> This flag is deprecated, instead use [`globalPre`](/support/docs/deep-dive-into-hyperexecute-yaml/#globalpre)
1413+
14121414
BeforeAll is used for running pre operations like discovery and payload_update. It can be executed either on local system or on hyperexecute beforeAll VM.
14131415
```yaml
14141416
beforeAll:

docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ The various flags that are supported are listed below.
7474

7575
| Flags | Type | Description|
7676
|-------|------|------------|
77+
| [analyze](#analyze) | NA | Analyzes the language and environment supported in your project.|
78+
| [completion](#completion) | NA | Generates the autocompletion script for HyperExecute for the specified shell. |
7779
| [--concurrency](#--concurrency) | Numerical | Indicates the number of concurrent sessions on HyperExecute. |
7880
| [--config](#--config) | string | Custom location for hyperexecute.yaml. |
7981
| [--download-artifacts](#--download-artifacts) | NA | Download the artifacts for a job. |
@@ -100,6 +102,28 @@ The various flags that are supported are listed below.
100102
| [--verbose](#--verbose) | NA | Logging of every proxy request to stdout. |
101103
| [--version](#--version) | NA | Version of the HyperExecute CLI. |
102104

105+
### `analyze`
106+
This flag runs **HyperExecute Analyze**, which is a language and environment detection tool used to render every language and framework detail the user has in his project, which includes finding private dependencies.
107+
108+
```bash
109+
hyperexecute analyze
110+
```
111+
112+
<img loading="lazy" src={require('../assets/images/hyperexecute/cli/analyze.png').default} alt="Image" className="doc_img"/>
113+
114+
***
115+
116+
### `completion`
117+
This flag generates the autocompletion script for HyperExecute for the specified shell.
118+
119+
```bash
120+
hyperexecute completion
121+
```
122+
123+
<img loading="lazy" src={require('../assets/images/hyperexecute/cli/completion.png').default} alt="Image" className="doc_img"/>
124+
125+
***
126+
103127
### `--concurrency`
104128
This flag allows you to define the number of concurrent sessions running on HyperExecute. For more information on concurrency, go to [this page](/support/docs/hyperexecute-auto-split-strategy/).
105129
```bash
@@ -350,14 +374,6 @@ This flag indicates the version of HyperExecute CLI binary that you are running
350374
```
351375
***
352376

353-
### `analyze`
354-
This flag runs **HyperExecute Analyze**, which is a language and environment detection tool used to render every language and framework detail the user has in his project, which includes finding private dependencies.
355-
356-
```bash
357-
hyperexecute analyze
358-
```
359-
***
360-
361377
## Trigger your Test from HyperExecute CLI
362378

363379
In order to trigger your job on HyperExecute, execute the following command in your terminal. You will need to insert the name of your YAML file in place of the `RELATIVE_PATH_OF_YOUR_YAML_FILE` before running this command.

0 commit comments

Comments
 (0)