1 of 19

Quality Intelligence in Action:

Strategizing Test Automation for Optimal Business Impact

Ran Zussman

Director of Business Development

2 of 19

Agenda

  1. Smart Automated Test Planning
  2. Automation Strategy Development
  3. Unmasking Untested Code Changes
  4. Advancing Shift-Left Testing with Test Impact Analytics
  5. Experiencing SeaLights Through Case Studies and Real-world Scenarios

3 of 19

Overall Coverage vs. Modified Coverage

4 of 19

Prioritize test development only on the riskiest areas and avoid redundant or inefficient test development and maintenance

Smart Automated Test Planning

Change Based Test Development Strategy

5 of 19

2023 Use Case | Fortune 100 Accounting Firm

Tech Stack: node.js | Build frequency: Multiple times daily | Sprint length: Biweekly | Release frequency: Biweekly

Effective & Efficient Test Automation Project with Test Gap Analysis

The team focused their test automation planning and development on areas where code was changed and was not tested (test gaps).

Eliminated Production Defects Utilizing E2E Code Coverage Analysis�

The team achieved 100% Code Changes coverage and eliminated quality risks. As a result, there were zero production defects, ensuring a high-quality product for their clients.

Team Modified Coverage & Production Defects Progress using SeaLights

3 months production defect free record

6 of 19

�Identified 2 Untested Code Changes 

7 of 19

Identify code changes that are not tested in every build

8 of 19

Inside the Platform: Introduction to Test

Impact Analytics (TIA)

Step 1:

Code <> Test Mapping

SeaLights maps code to test via Bytecode instrumentation

8

Name of Presentation

9 of 19

Step 2:

Code Changes Capturing

Analyzes every build to identify newly added code and code changes

Inside the Platform: Introduction to Test

Impact Analytics (TIA)

9

Name of Presentation

10 of 19

Step 3:

Executing Only Relevant Tests

Executed only the relevant tests based on code changes

Inside the Platform: Introduction to Test

Impact Analytics (TIA)

10

Name of Presentation

11 of 19

11

Name of Presentation

12 of 19

SeaLights in Action: How Sophos Accelerated Their CI Tests Cycle Time By 88% with SeaLights

97% savings on compute hours and test executions while maintaining the highest level of quality.

318 hours saved in compute time in a sprint

4M Tests skipped!

12

Name of Presentation

13 of 19

Challenge and Motivation | Shift Left Testing

  • Engineering teams want to Shift Left their E2E tests to the dev feature branch to identify and fix bugs before they reach integration branches
  • The testing cycle, which can run between 30 minutes to a few hours, may slow down the development velocity.
  • Running tests during Pull Request cycles can be expensive (AWS costs)

Develop

Deploy

Merge

PR

Review

Slow & Expensive Testing

Executing ALL tests

at a later stage

Master Branch

Feature Branch

13

Name of Presentation

14 of 19

Shift Left is Not Enough

Running tests earlier can still be time-consuming and costly. Test Impact Analytics is a necessary addition that can effectively identify which tests to run based on code changes, significantly reduce test execution time.

Deploy

Develop

Merge

PR

Review

Master Branch

Feature Branch

Shifting Left is Not Sufficient,

still Executing All tests

14

Name of Presentation

15 of 19

  • Testing cycle time will be shorter and focused to the PR change
  • Unrelated flaky tests will not run (skipped)
  • Failing fast and fixing bugs early in the development cycle will increase development velocity

Test Impact Analytics for Pull Request

Develop

PR

Review

Execute Only

Relevant E2E Tests

Merge

Deploy

15

Name of Presentation

16 of 19

16

Name of Presentation

17 of 19

17

Name of Presentation

18 of 19

  • It is not necessary to run all tests at all times
  • An effective risk-based mode of testing allows you to run only tests that have impact on the change
  • Shorten test execution time for both automated and manual testing
  • Reduce long feedback loops for efficient hotfixing process
  • Reduce the cost of long & expensive manual and automated testing cycles
  • Reduce long waiting time, as well as troubleshooting irrelevant failed tests

Advancing Shift-Left Testing with Test Impact Analytics

19 of 19

Quality Intelligence in Action:

Strategizing Test Automation for Optimal Business Impact

Ran Zussman

Director of Business Development