Questions tagged [coveralls]

Coveralls is a code test coverage tool and associated service to display the code test coverage trends.

Coveralls is a code test coverage tool and associated service to display the code test coverage trends. Coveralls offers good integration with travis, is free for open-source projects and also supports a large set of languages and hence is a popular choice for projects on github. The coverage image you see on many github readme files is generated using coveralls.

122 questions
3
votes
0 answers

Define Travic CI test code coverage with coveralls (scala)

I successfully configured and used Travis CI with combination of Coveralls.io as you can see in the project. Since this is a open-source project I'd love to define 90% test code coverage threshold. Does anyone know how to define such a threshold in…
zmeda
  • 2,909
  • 9
  • 36
  • 56
3
votes
0 answers

Error when launching cpp-coveralls

When I launch the cpp-coveralls utility to send my code coverage result to http://coveralls.io, I always get this error: $ coveralls Traceback (most recent call last): File "/usr/local/bin/coveralls", line 5, in from pkg_resources…
Martin Delille
  • 11,360
  • 15
  • 65
  • 132
3
votes
0 answers

What does the error "version '404*', prefer '402*'" mean running gcov

Trying to build coverage data for Coveralls I get the following error messages during the Travis-CI build: DTHTMLWriter.gcno:version '404*', prefer '402*' File '/Users/travis/build/Cocoanetics/DTCoreText/Core/Source/DTHTMLWriter.m' Lines…
Cocoanetics
  • 8,171
  • 2
  • 30
  • 57
2
votes
1 answer

Is it possible to use coveralls/codecov locally?

According to Coveralls public documentation (https://docs.coveralls.io/), "Your code must be hosted on GitHub, BitBucket, or GitLab". Then the package "coveralls" in npm (https://www.npmjs.com/package/coveralls) says that "This script…
LGDGODV
  • 263
  • 1
  • 10
2
votes
1 answer

How to fix `405 Not Allowed` error with coveralls

I've been getting my code coverage with the following command and it's been working fine: nyc report --reporter=lcov && cat ./coverage/lcov.info | coveralls All of a sudden I'm getting get a 405 error with the error below: Error received: > nyc…
tobie
  • 187
  • 10
2
votes
0 answers

Jest coverage missing branches on import statement inside lcov report

I am trying to figure out why I am having missing branches on import files when checking the Jest Coverage lcov report. I have 100% line coverage, but other types of coverage (statement, branch, and functions) are pretty low. I wasn't sure about the…
agustin37
  • 121
  • 6
2
votes
2 answers

Coveralls UnicodeDecodeError

I have the following configuration in tox: [tox] envlist = py37 [testenv] passenv = TRAVIS TRAVIS_* setenv = DEFAULT_FROM = mock_email@mock.com DEFAULT_SERVER = mock_server basepython = py37: python3.7 deps = …
2
votes
2 answers

How to exclude generated code from a code coverage report?

I've got the following jacoco-maven-plugin configuration: org.jacoco jacoco-maven-plugin ${jacoco.version}
Shmoe
  • 31
  • 1
  • 3
2
votes
0 answers

Coveralls in travis-ci outputs no report file available and repo token as null

I am trying to integrate Travis ci and coveralls with jacoco plugin into my public android GitHub repository. I can successfully run Travis with my repository now. To add coveralls, I have used coveralls gradle plugin as I built project with gradle.…
lemikistu
  • 61
  • 1
  • 6
2
votes
1 answer

how to fix 'error from lcovParse: ' 'Failed to parse string'? on circleICI v2.0 using coveralls with mocha

circleCI fails when it tries to run this command: #!/bin/bash --login cat ./coverage/coverage.json | ./node_modules/.bin/adana --format lcov | ./node_modules/coveralls/bin/coveralls.js [error] "2019-02-20T20:22:50.695Z" 'error from lcovParse: '…
2
votes
1 answer

How do I Integrate Coveralls to An Open-Source Project?

I want to contribute to an open-source project (specifically, this one) where the project owner has already set up Travis. I want to integrate Coveralls to this project and send a pull-request. When I own the project, the process is…
Eray Erdin
  • 2,633
  • 1
  • 32
  • 66
2
votes
1 answer

How can I connect Coveralls and Circle CI in GitHub?

I need a little (maybe a lot more than a little) direction in combining these two services to work together. I have added the COVERALLS_REPO_TOKEN enviornment variable in the CircleCI settings online. I also have a .coveralls.yml file that has the…
2
votes
0 answers

Sum coverage for several (in my case PHP and javascript) languages in coveralls

Is it possible to have sum of coverage tests from PHP and Javascript Part of .travis.yml file after_success: - travis_retry php vendor/bin/php-coveralls -v - COVERALLS_REPO_TOKEN=$coveralls_repo_token yarn coveralls In this case I see only…
yAnTar
  • 4,269
  • 9
  • 47
  • 73
2
votes
0 answers

Running istanbul, coveralls, and ts-node to create typescript test coverage?

I have a project with two typescript files: - src/index.ts - src/index.spec.ts I can run the mocha unit tests without first compiling the typescript to commonjs format like this: mocha -r ts-node/register src/**/*.spec.ts I'd also like to run…
Ole
  • 41,793
  • 59
  • 191
  • 359
2
votes
0 answers

What files does Coveralls select?

I'm running Travis and Coveralls to run integration tests. It appears Coveralls is giving me a much higher rating than it should; I have only written tests for a handful of source files in my repository, and those are the only files that get checked…
Joost
  • 4,094
  • 3
  • 27
  • 58
1 2 3
8 9