Running Tests
Unit Tests
Functional Tests
SEALIGHTS_AGENT_TOKEN=$(cat ./sealights/sltoken.txt)
#SEALIGHTS_BUILD_SESSION_ID="123"
SEALIGHTS_LAB_ID="my_lab_id"
SEALIGHTS_TEST_STAGE="Functional Tests"
#run the scan commandFramework relying on go test
go test./sealights/slcli scan --tests-runner --workspacepath "$(pwd)/MyTests" --path-to-scanner ./sealights/slgoagent --scm noneUsing Ginkgo
Environment variables for Golang-based test runner executions
Environment Variable Name
Default Value
Description
Running Your Tests with the Legacy Approach
Sample Script in Bash
Last updated
Was this helpful?

