All Projects → codecov → example-objc

codecov / example-objc

Licence: MIT license
Codecov example for Xcode

Programming Languages

objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to example-objc

travis-ci-tutorial-java
Just to learn how to use travis-ci in a java project!
Stars: ✭ 38 (+58.33%)
Mutual labels:  coverage, codecov
Kcov
Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
Stars: ✭ 515 (+2045.83%)
Mutual labels:  coverage, codecov
Codecov Node
Global coverage report uploader for Codecov in NodeJS
Stars: ✭ 268 (+1016.67%)
Mutual labels:  coverage, codecov
CPP Template
C++ project template : CMake, Test, Travis CI, Appveyor, CodeCoverage, Doxygen
Stars: ✭ 32 (+33.33%)
Mutual labels:  coverage, codecov
Moderncppstarter
🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.
Stars: ✭ 2,381 (+9820.83%)
Mutual labels:  coverage, codecov
phpunit-travis-ci-coverage-example
phpUnit Testing on Travis-CI with Code Coverage on CodeCov
Stars: ✭ 30 (+25%)
Mutual labels:  coverage, codecov
Learn Istanbul
🏁 Learn how to use the Istanbul JavaScript Code Coverage Tool
Stars: ✭ 332 (+1283.33%)
Mutual labels:  coverage, codecov
enterprise
Code coverage done right.® On-premise enterprise version.
Stars: ✭ 63 (+162.5%)
Mutual labels:  coverage, codecov
Example Cpp11 Cmake
Stars: ✭ 129 (+437.5%)
Mutual labels:  coverage, codecov
Example Swift
Codecov: Swift coverage example
Stars: ✭ 121 (+404.17%)
Mutual labels:  coverage, codecov
ts-node-starter
GitHub template to get started with Node.js & TypeScript. ⚡
Stars: ✭ 28 (+16.67%)
Mutual labels:  coverage, codecov
Codecov Bash
Global coverage report uploader for Codecov
Stars: ✭ 220 (+816.67%)
Mutual labels:  coverage, codecov
Covr
Test coverage reports for R
Stars: ✭ 285 (+1087.5%)
Mutual labels:  coverage, codecov
Example Gradle
Stars: ✭ 68 (+183.33%)
Mutual labels:  coverage, codecov
Codecov Python
Python report uploader for Codecov
Stars: ✭ 162 (+575%)
Mutual labels:  coverage, codecov
gocoverutil
No description or website provided.
Stars: ✭ 25 (+4.17%)
Mutual labels:  coverage, codecov
ruby-codacy-coverage
DEPRECATED Post coverage results to Codacy
Stars: ✭ 12 (-50%)
Mutual labels:  coverage
floss
Unit-testing for those hard to reach places
Stars: ✭ 26 (+8.33%)
Mutual labels:  coverage
code-coverage-action
GitHub Action that generates code coverage reports
Stars: ✭ 28 (+16.67%)
Mutual labels:  coverage
codeclimate-action
GitHub Action to send your code coverage to CodeClimate
Stars: ✭ 145 (+504.17%)
Mutual labels:  coverage

Codecov Objective-C Example

FOSSA Status

For a Swift-specific example, see https://github.com/codecov/example-swift

Guide

Travis Setup

Add to your .travis.yml file.

language: objective-c
script:
  - xctool -project {{path_to_xcodeproj}} -scheme {{your_testing_scheme}} build test -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES
after_success:
  - bash <(curl -s https://codecov.io/bash)

Produce Coverage Reports

The two important parts are:

  • GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES (To have Xcode create code coverage files)
  • Create a shared scheme for your test target https://i.imgur.com/JKNFq0G.png
  • xctool also does not respect the /Scheme/TestAction/@codeCoverageEnabled setting in .xcscheme files. Make sure -enableCodeCoverage YES is set.

Caveats

Private Repo

Repository tokens are required for (a) all private repos, (b) public repos not using Travis-CI, CircleCI or AppVeyor. Find your repository token at Codecov and provide via appending -t <your upload token> to you where you upload reports.

Build specific projects

# match ExampleName and ExampleNameTests
bash <(curl -s https://codecov.io/bash) -J 'ExampleName'

# user regexp to match only ExampleName and not ExampleNameTests
bash <(curl -s https://codecov.io/bash) -J '^ExampleName$'

Links

License

FOSSA Status

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].