Commit 9592fa6
committed
Test: Add comprehensive holdout test scenarios aligned with Swift SDK
- Add decideAll tests with various holdout configurations (global, included, excluded, multiple)
- Add holdout status tests (Draft, Concluded, Archived should not apply)
- Add impression event metadata tests
- Add test for holdout impressions with sendFlagDecisions=false
- Add audience targeting tests for holdouts
- Add enabledFlagsOnly option test
- Fix existing tests to work with Holdout entity objects (not dicts)
- Fix impression event logic to always send holdout impressions (matching Swift SDK)
All 35 holdout tests now passing, matching Swift SDK test coverage.1 parent beaa8b3 commit 9592fa6
File tree
2 files changed
+567
-17
lines changed- optimizely
- tests
2 files changed
+567
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1260 | 1260 | | |
1261 | 1261 | | |
1262 | 1262 | | |
1263 | | - | |
| 1263 | + | |
| 1264 | + | |
1264 | 1265 | | |
1265 | | - | |
| 1266 | + | |
1266 | 1267 | | |
1267 | 1268 | | |
1268 | 1269 | | |
| |||
0 commit comments