Run a Test in Tosca
Make sure that you set the PIPELINE with --labid parameter
After you have created a FOOTPRINTS scheduled task, the next step is to configure Tosca so that when you run a test, the execution is associated with your SeaLights app’s latest Build Modification. You can do this as follows:
Configure Tosca Cloud playlist with Sealights Lab ID
Configure your Tosca Cloud workspace to work with Sealights.:
Go to integrations
Select Sealights
Enter Sealights Agent Token
Configure Tosca Playlist to run with Sealights Test Optimization:
Go to a playlist you wish to integrate with Sealights
In the Configuration tab, under Parameters, enter the following values:
SeaLightsLabId =
labid configured in the pipeline set commandSeaLightsOptimization = true
Careful! Playlist Configurations parameters are case sensitive!

Run the test
You can now run a test in Tosca. If the test executes any ABAP components in the latest Build Modification for your SeaLights app, you’ll see the test coverage in your app’s Coverage Report.
Note: It takes some time for SeaLights to process the Footprints data.
The following Coverage Report for Pipeline HH_SLABAPCLI_170625 shows that Function YCD_GET_MATL_PRICES and Program YCDMAINPROG have code that’s covered by a Tosca test.

Last updated
Was this helpful?

