• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

optimizely / swift-sdk
94%

Build:
DEFAULT BRANCH: master
Repo Added 24 May 2019 09:32PM UTC
Files 77
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • ai/muzahidul-opti/FSSDK-12265
  • fix-flaky-tests
  • jae/coverage
  • optibot/prepareRelease5.2.1
  • prepare-release-5.2.1

23 Jan 2026 04:24PM UTC coverage: 93.734% (-1.5%) from 95.245%
21293166650

push

github

web-flow
[FSSDK-12240] fix flaky tests with proper synchronization (#622)

* docs: add comprehensive project documentation in CLAUDE.md

Added CLAUDE.md file to provide context and guidelines for development:

- Project overview and structure
- Getting started guide with platform support and installation
- Coding standards and common patterns (protocol-oriented design, thread safety)
- Complete development workflow from branch creation to PR
- Testing guide with xcodebuild commands and best practices
- Key API usage examples
- Helpful commands for file searching, testing, and git operations

The documentation is organized logically from introduction to reference material
for better developer onboarding and contribution experience.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* docs: remove redundant instructions from CLAUDE.md

Consolidated duplicate sections to improve readability:
- Moved all testing commands to dedicated 'Testing' section
- Kept linting info only in 'Coding Standards'
- Consolidated git commands in 'Helpful Commands'
- Added cross-references in 'Making Changes' workflow
- Removed repeated commands from multiple locations

This reduces redundancy and makes the guide easier to maintain.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* fix: resolve flaky tests and improve test reliability

Fixed multiple test failures and flaky tests across the test suite:

1. **CMAB Test Fixes** (OptimizelyUserContextTests_Decide_CMAB.swift):
   - Fixed testDecideAsync_cmabCacheOptions failing with "Expected 3 calls"
   - Root cause: CMAB cache persisting between tests causing cache hits
   - Solution: Reset cache in setUp/tearDown, use unique userId
   - Added thread-safe state tracking in MockCmabService
   - Added clarifying comments for variation IDs
   - Removed commented-out code

2. **Event Dispatcher Retry Tests** (EventDispatcherRetryTests.swift):
   - Fixed testRetry_AllAttemptsExhausted timing issues
   - Fixed testRetry... (continued)

1 of 1 new or added line in 1 file covered. (100.0%)

56 existing lines in 21 files now uncovered.

1122 of 1197 relevant lines covered (93.73%)

8852.13 hits per line

Relevant lines Covered
Build:
Build:
1197 RELEVANT LINES 1122 COVERED LINES
8852.13 HITS PER LINE
Source Files on master
  • Tree
  • List 77
  • Changed 56
  • Source Changed 0
  • Coverage Changed 56
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21293166650 master [FSSDK-12240] fix flaky tests with proper synchronization (#622) * docs: add comprehensive project documentation in CLAUDE.md Added CLAUDE.md file to provide context and guidelines for development: - Project overview and structure - Getting sta... push 23 Jan 2026 04:37PM UTC web-flow github
93.73
4419905259 master [FSSDK-8951] chore: prepare for v3.10.2 release (#481) push 14 Mar 2023 09:06PM UTC GitHub github pending completion  
4387241724 master [FSSDK-8951]: Updates readme replacing Full Stack with Feature Experimentation. (#479) push 10 Mar 2023 06:34PM UTC GitHub github pending completion  
4127541358 master Adding support for odp fsc testing. (#476) push 08 Feb 2023 07:24PM UTC GitHub github pending completion  
4086067861 master remove odpConfig from init params (#477) push 03 Feb 2023 04:54PM UTC GitHub github pending completion  
4017901314 master update README for SPM name conflict (#475) push 26 Jan 2023 06:25PM UTC GitHub github pending completion  
3998862308 master feat(ats): remove auto ODP identify events from legacy APIs (#473) push 24 Jan 2023 06:02PM UTC GitHub github pending completion  
3717392211 master restore workflow dependency to master version (#472) push 17 Dec 2022 12:18AM UTC GitHub github pending completion  
3338995053 master clean up build warnings (#468) push 27 Oct 2022 04:21PM UTC GitHub github pending completion  
3299085113 master feat: add ODP integration (#455) push 21 Oct 2022 05:04PM UTC GitHub github pending completion  
See All Builds (1020)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc