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

kgoodier / CocoaSPDY
52%
develop: 76%

Build:
Build:
LAST BUILD BRANCH: ipv6-aliases
DEFAULT BRANCH: develop
Repo Added 19 Nov 2014 12:06AM UTC
Files 85
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 feature/code-coverage
branch: feature/code-coverage
CHANGE BRANCH
x
Reset
  • feature/code-coverage
  • develop
  • develop-future
  • develop-next
  • develop-next-assert-handler
  • develop-qfe
  • feature/cellular-metadata
  • feature/cellular-metadata-movesession
  • feature/detailed-stream-timings
  • feature/fix-metadata-rxbytes
  • feature/increase-coverage
  • feature/migrate-xctest
  • feature/nsurlsession-support
  • feature/spdy-push
  • feature/spdy-push-develop
  • feature/spdy-push-nov
  • feature/spdy-push-nov-pre
  • feature/spdyassert-handler
  • fix/build-warnings
  • fix/ci
  • fix/infinite-session-loop
  • fix/proxy-multi
  • fix/proxy-simple
  • fix/proxy-simple-multi
  • fix/release
  • fix/socket-crash-fixes
  • fix/urlencode-path
  • fix/webview-redirects
  • ipv6-aliases
  • johnkdoe-develop-2
  • master
  • master-dummy
  • no-nil-metadata
  • review/absolute-time
  • review/http-proxy-pr
  • review/increase-code-coverage
  • review/increase-code-coverage-squash
  • v1.1

pending completion
30

push

travis-ci

kgoodier
Add "Coverage" configuration with code coverage flags set.

- new build settings
- integration with Coveralls.io when using Travis CI
- workarounds for Apple bugs

"Coverage" config is based on "Debug" but enables "Generate Test Coverage
Files" and "Instrument Program Flow" for builds. Unit tests use
this configuration now instead of Debug and also set a COVERAGE=1 flag,
for conditional use in the code.

.gcda and .gcno files are now generated, and live in
~/Library/Developer/Xcode/DerivedData/SPDY-fkxxegoemtsttmayyuvejarxgimy/Build/Intermediates/SPDY.build/Coverage-iphonesimulator/SPDYUnitTests.build/Objects-normal/i386

They can be opened with something like CoverStory locally after running
the unit tests. On Github, our integration with Travis will produce
Coveralls data for pull requests and inserts a little coverage badge.

The Travis build uses the cpp-coverage utility (coveralls) to produce
reports for Coveralls.io ingestion. This tool requires the source code and
the coverage files to be located under a common root, hence the copy into
the "gcov" directory. Finding the location where Xcode puts the
intermediate files is non-trivial, so we take advantage of the fact
Travis gives us a clean slate each time.

SPDYSenTestLog.m is created to workaround a bug where no .gcda files
are generated for certain combinations unless they are explicitly
flushed. It's unclear exactly when this happens, but simulator 7.0 is
affected, and simulator 8.0 with Travis is affected.

1551 of 2994 relevant lines covered (51.8%)

24.32 hits per line

Relevant lines Covered
Build:
Build:
2994 RELEVANT LINES 1551 COVERED LINES
24.32 HITS PER LINE
Source Files on feature/code-coverage
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
30 feature/code-coverage Add "Coverage" configuration with code coverage flags set. - new build settings - integration with Coveralls.io when using Travis CI - workarounds for Apple bugs "Coverage" config is based on "Debug" but enables "Generate Test Coverage Files" an... push 19 Nov 2014 07:55AM UTC kgoodier travis-ci pending completion  
25 feature/code-coverage It works?! push 19 Nov 2014 07:33AM UTC kgoodier travis-ci pending completion  
23 feature/code-coverage this work? push 19 Nov 2014 07:10AM UTC kgoodier travis-ci pending completion  
22 feature/code-coverage still haven't found what i'm looking for push 19 Nov 2014 06:34AM UTC kgoodier travis-ci pending completion  
19 feature/code-coverage where are my gcda files? push 19 Nov 2014 06:23AM UTC kgoodier travis-ci pending completion  
17 feature/code-coverage more push 19 Nov 2014 06:06AM UTC kgoodier travis-ci pending completion  
15 feature/code-coverage more debugging push 19 Nov 2014 05:29AM UTC kgoodier travis-ci pending completion  
13 feature/code-coverage Once more with feeling push 19 Nov 2014 02:51AM UTC kgoodier travis-ci pending completion  
12 feature/code-coverage Again. push 19 Nov 2014 02:06AM UTC kgoodier travis-ci pending completion  
10 feature/code-coverage More push 19 Nov 2014 01:53AM UTC kgoodier travis-ci pending completion  
See All Builds (175)
  • 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