Table of Contents |
---|
...
Parameter | Description |
---|---|
| Access token generated from the SeaLights server |
| Path to file containing access token generated from the SeaLights server |
| Session ID of configuration created |
| Path to file containing the Session ID of configuration created |
| Source control used Current options are: git, none |
| The provider name of your Source Control Management (SCM) tool. |
| The URL to the repository which contains the code. If not provided, the url of the remote GIT origin will be used Example: |
| The version of your Source Control Management (SCM) tool. If left blank, cloud version is assumed. Otherwise, specify the version of your on-premise server. |
| Address of proxy to run connection through |
| Show Help message and exit. |
Running backend server
Code Block |
---|
sl-python run {--token <token> | --tokenfile <file>} {--buildsessionid <id> | --buildsessionidfile <file>} [--cov-report <path>] [--per-test {true|false}] [--interval <interval>] [--labid <labid>] [--proxy <proxy>] [--help] args... |
Parameter | Description |
---|---|
| Access token generated from the SeaLights server |
| Path to file containing access token generated from the SeaLights server |
| Session ID of configuration created |
| Path to file containing the Session ID of configuration created |
| Path to generate XML coverage report |
| Collect coverage per test (Default: false) |
| Interval in milliseconds to send data |
| Unique ID for a set of test labs in case multiple labs are running simultaneously (case-sensitive) |
| Address of proxy to run connection through |
| Show Help message and exit. |
| Extra arguments for running the application server |
Test Listener
Starting a test stage
...
Code Block |
---|
sl-python {pytest|unittest|unit2|nose} --help |
Running backend server
Code Block |
---|
sl-python run {--token <token> | --tokenfile <file>} {--buildsessionid <id> | --buildsessionidfile <file>} [--cov-report <path>] [--per-test {true|false}] [--interval <interval>] [--labid <labid>] [--proxy <proxy>] [--help] args... |
...
Parameter
...
Description
...
token
...
Access token generated from the SeaLights server
...
tokenfile
...
Path to file containing access token generated from the SeaLights server
...
buildsessionid
...
Session ID of configuration created
...
buildsessionidfile
...
Path to file containing the Session ID of configuration created
...
- |
...
Path to generate XML coverage report
...
- |
...
Collect coverage per test (Default: false)
...
interval
...
Interval in milliseconds to send data
...
labid
...
Unique ID for a set of test labs in case multiple labs are running simultaneously (case-sensitive)
...
proxy
...
Address of proxy to run connection through
help |
...
Show Help message and exit.
...
args...
...
Logging
Enabling logging in Python is done using by setting the SL_DEBUG environment variable to “true”.
...