File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
providers/openfeature-provider-flagd/tests/e2e Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ Feature : flagd providers
2+
3+ # This test suite contains scenarios to test flagd providers.
4+ # It's associated with the flags configured in flags/changing-flag.json and flags/zero-flags.json.
5+ # It should be used in conjunction with the suites supplied by the OpenFeature specification.
6+
7+ Background :
8+ Given a flagd provider is set
9+
10+ # events
11+ Scenario Outline : Provider events
12+ When a <event> handler is added
13+ Then the <event> handler must run
14+ Examples :
15+ | event |
16+ | PROVIDER_ERROR |
17+ | PROVIDER_STALE |
18+ | PROVIDER_READY |
19+
20+ # events
21+ Scenario : Provider events chain ready -> stale -> error -> ready
22+ When a PROVIDER_READY handler is added
23+ Then the PROVIDER_READY handler must run
24+ When a PROVIDER_STALE handler is added
25+ Then the PROVIDER_STALE handler must run
26+ When a PROVIDER_ERROR handler is added
27+ Then the PROVIDER_ERROR handler must run
28+ When a PROVIDER_READY handler is added
29+ Then the PROVIDER_READY handler must run
You can’t perform that action at this time.
0 commit comments