Embed and execute another file within the current script.
The run
command is used to embed and execute another file within the current script. This is useful for reusing common sequences of commands or modularizing your scripts for better organization and maintainability.
Argument | Type | Description |
---|---|---|
file | string | The path to the file to embed and run. Should be relative to the root of your git repository. |
run
command to centralize reusable logic, such as login flows or setup steps, into separate files.run
command is ideal for creating modular and maintainable test scripts by reusing common workflows.run
command.Embed and execute another file within the current script.
The run
command is used to embed and execute another file within the current script. This is useful for reusing common sequences of commands or modularizing your scripts for better organization and maintainability.
Argument | Type | Description |
---|---|---|
file | string | The path to the file to embed and run. Should be relative to the root of your git repository. |
run
command to centralize reusable logic, such as login flows or setup steps, into separate files.run
command is ideal for creating modular and maintainable test scripts by reusing common workflows.run
command.