/
Improve Test Optimization With Context Propagation

Improve Test Optimization With Context Propagation

SeaLights is using Open Telemetry to propagate the context of your tests, this allow to enrich the test optimization statistical model to an almost 1:1 relationship between a test and the code of the application it is testing.

There are 2 main ways to propagate the context of a test:

  1. The utilization of a baggage

  2. The utilization of a cookie

In order to set this up, these are the necessary steps you need to take:

  1. Set up the testing framework to set either the baggage or the cookie with the test information, including:

    1. Test name

    2. Test session ID

  2. Set up the front-end agent with the flag to enable Open Telemetry usage

  3. Set up the backend agent with the flags to enable Open Telemetry usage