Run a Test in Tosca

circle-exclamation

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

  1. Configure your Tosca Cloud workspace to work with Sealights.:

    1. Go to integrations

    2. Select Sealights

    3. Enter Sealights Agent Token

  2. Configure Tosca Playlist to run with Sealights Test Optimization:

    1. Go to a playlist you wish to integrate with Sealights

    2. In the Configuration tab, under Parameters, enter the following values:

      1. SeaLightsLabId = labid configured in the pipeline set command

      2. SeaLightsOptimization = true

triangle-exclamation

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.

circle-info

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?