Enabling & Configuring Test Optimization
In SeaLights, Test Optimization (TIA - Test Impact Analysis) is managed at the Test Stage level. A Test Stage represents a specific phase in your pipeline, such as Unit Tests, Component Tests, Integration Tests, or E2E.
The configuration path is determined by how the stage interacts with your applications. You will use either the App-Level model or the Cross-App model depending on whether the stage is dedicated to a specific application or monitors a shared environment.
For a detailed technical comparison of these two models, refer to the Test Optimization Models: Cross-App vs. App-Level.
App-Level Test Stages
The App-Level model is used for stages that are tied to a specific application. This is standard for tests like Unit Tests or Component Tests that reside within a single project's scope, where the relationship between code and tests is 1:1.
How to Enable & Configure:
Navigate to Strategy: Go to Test Optimization > Strategy.
Select Stage: Find your App and Test Stage in the list, hover the row and click the Breakdown Analysis & Settings button to open the Breakdown page.
Open Settings: Click the TIA Settings button at the top right of the breakdown view.
Define Parameters: In the configuration popup, define your optimization parameters at the Branch level. The system will now provide optimization recommendations for that specific app/branch context.
For a detailed explanation, refer to: App-Level Test Stage Configuration.
Cross-App Test Stages
The Cross-App model is used for stages that report data on a Test Level. This applies to lab environments or shared stages (like Integration or E2E) that report coverage for whichever apps happen to be running in the environment at that moment.
How to Enable & Configure:
Navigate to Strategy: Go to Test Optimization > Strategy.
Select Stage: Find your Test Stage in the list and click the row to open the Strategy Overview.
Access Orchestration: Click Configure Strategy to access the Orchestration Layer.
Select Strategy Level: Choose a predefined optimization profile based on your requirements: Conservative, Moderate, or Aggressive.
For a detailed explanation, refer to: Cross-App Test Stage Strategy Configuration.
FAQ
Can I use both models in the same pipeline?
Yes. You might use the App-Level model for your Unit and Component tests while using the Cross-App model for your shared Integration or System tests.
Last updated
Was this helpful?

