https://thenewstack.io/trace-based-testing-for-a-distributed-world/ is a new form of testing using observability data, namely OpenTelemetry-compatible distributed traces, collected in modern systems. Trace-based testing “adds on” testing as a benefit, making your investment in observability pay dividends by reducing test cost and allowing you to increase test coverage inexpensively. For distributed Function as a Service and microservice systems, trace-based testing should be used to enhance confidence and reduce effort as compared to more traditional black box testing methods.
Distributed Tracing Is the Power Behind Trace-Based Testing https://thenewstack.io/trace-based-testing-for-a-distributed-world/, similar to most integration tests, consist of a trigger and a set of assertions.
Trace-based testing overcomes these handicaps by leveraging the work already invested in providing observability to your system via distributed tracing.