...
Code Block | ||
---|---|---|
| ||
sl-python start --teststage "Unit Tests" |
Running your tests
Test Duration Requirements for Coverage Calculation
Please note that tests must run for a minimum of 1 second for SeaLights to calculate coverage. If your test duration is under 1s, adding a brief pause to your test will allow SeaLights to complete the coverage sampling process.
Functional Tests
Before running your functional tests you need to set up the backend server to receive the test footprints. See 'Using Python Agents - Running backend server using SeaLights agent'
...
The command is the same as you would use on the backend server. See 'Using Python Agents - Running backend server using SeaLights agent'
...
Upload report files
Once done running the tests you upload the report files to the SeaLights server
...