launchdarkly-testing
Installation
SKILL.md
launchdarkly-testing
Overview
LaunchDarkly's server-side SDK exposes a TestData data source
that lets tests configure flag values without any network call -
the canonical hermetic-test pattern. Per
launchdarkly.com/docs/sdk,
TestData replaces the production data source; everything else
about the SDK (variation evaluation, targeting rules, default
handling) runs the real code paths.
When to use
- Unit / integration tests for code that calls
client.variation()/client.boolVariation(). - Tests asserting on targeting-rule behaviour (segment matching, percentage rollout).
- Assignment-integrity tests per
ab-test-validity-checklist.