Files
rippled/src/tests
Pratik Mankawde da35290f27 test(telemetry): compile the span-name and stall-rule tests in every build
Both files gated their whole contents on XRPL_ENABLE_TELEMETRY, so 54 tests
were skipped whenever telemetry was compiled out. The stated reason was that
only a telemetry build puts `src/` on this target's include path, but that
include path is unconditional, so the tests were reachable all along.

Nothing in either file needs the OpenTelemetry SDK. The span-name and outcome
headers hold constants and constexpr functions with no telemetry guards,
LoadManager::evaluateStall is a static constexpr member, and the handful of
guard assertions construct a default SpanGuard, which is inactive in either
configuration. SpanNames.h documents this contract for its own constants.
2026-08-27 11:10:04 +01:00
..

Unit tests

This directory contains unit tests for the project. The difference from existing src/test folder is that we switch to 3rd party testing framework (gtest). We intend to gradually move existing tests from our own framework to gtest and such tests will be moved to this new folder.