Test Optimization
Test Optimization helps you reduce your test cycles and improve test effectiveness.
It is where you can get visibility on your actual test execution time, run a simulator to find where you can reduce execution time and track your savings statistics.
In the coming year more capabilities will be added, such as TIA for pull request, test prioritization, code to test map, test insights and many more!
What is the TIA (Test Impact Analysis)?
The TIA is currently the main functionality under Test Optimization. It can help you speed up time to market!
By using risk based testing principles and skipping unnecessary tests, you can provide faster feedback for your developers and reduce the test cycle time dramatically (50% to 90%).
The TIA can identify and execute the smallest subset of mandatory tests, without compromising quality. It is good for both automated tests and manual tests.
Who can use the TIA & how?
The TIA can be used by any SeaLights customer, for all types of tests and for any app and programming language supported by SeaLights.
In order to use the TIA, you must meet the following conditions:
Test events must be reported to SeaLights (either automatically or manually by using SeaLights Chrome Extension)
Your Test Runner can get a list of tests to be skipped from the coming test cycle.
Or, you can use SeaLights UI for manual testing recommendations.
There are two ways to automatically report tests and connect to your Test Runner:
SeaLights Official Integrations
Use one of the existing integrations with the popular testing frameworks (e.g. TestNG, Junit, Cucumber).TIA Public APIs
Use the public APIs to report tests from any unsupported frameworks and get test recommendations on demand.
https://sealights.atlassian.net/l/c/tc5enJGS
How it works?
Main Steps
you Integrate SeaLights with your CI.
you Install agents, then direct SeaLights to scan the latest build and the tests that are already running.
SeaLights Correlate each test with the methods that relate to it.
SeaLights Compare any new build with the build which the current test stage was last executed.
SeaLights Identify all tests that are impacted by modified content, and recommend tests.
you Execute only a subset of your tests, based on the recommended tests to skip.
you Execute "Full Run" test cycle on defined scheduled to ensure no tests are ever overlooked.
SeaLights Analyze and improve the code-to-test correlation by using machine-learning algorithms.
TIA Outcome
The TIA produces a list of test recommendations pertaining to these types of tests:
Impacted tests — Tests that correspond to recent code changes.
Failed Tests — Tests that did not pass in the previous run.
Dependent Tests — Tests that have a dependency with other recommended test.
New Tests — Tests that have never been run.
Previously Recommended Tests — Tests that were previously recommended but not yet executed.
Understanding The Data
The page displays the actual test execution time per app, whether TIA is ON or not.
This view should help you easily detect long execution times and understand where the main problems are.