Questions tagged [coveralls]
Coveralls is a code test coverage tool and associated service to display the code test coverage trends.
0
votes
0answers
8 views
What does coveralls cover?
Sorry if this is a redundant qu stuon but I have been googling and while there are some great articles on setting up coveralls, there seems to be minimal documentation around coverage data. What ...
53
votes
1answer
1k views
Get multiple coverage reports in coveralls for a single repository
Is it possible to get separate coverage reports for front-end and back-end tests for a single repository?
It seems one possible way is to concatenate the lcov reports into one and then ship to ...
0
votes
0answers
22 views
How to show branch coverage for C++ project on coveralls.io?
I am using the coveralls.io service to display line coverage for my C++ project. I also want to track branch coverage, but cannot get it to work.
On Travis CI, I use this call to generate the ...
0
votes
0answers
146 views
Unexpected token import when using coverall with mocha
"test": "NODE_ENV=test yarn run test-prepare;NODE_ENV=test./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test/service --require babel-register --require babel-polyfill",
Warning: ...
2
votes
0answers
11 views
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=$...
0
votes
1answer
64 views
How to upload test reports of Kotlin sources to Coveralls?
I want to upload my Jacoco test report to Coveralls automatically after my Travis build finishes. It works for Java, but how to configure it for Kotlin?
Error message
I can generate a Jacoco test ...
1
vote
0answers
55 views
How to update Coveralls badge image to reflect actual coverage percentage?
I use a Coveralls badge on the README and documentation page to display the code coverage for my project. The badge image often displays an out-of-date percentage. Clearing my browser's cache helps, ...
0
votes
0answers
32 views
How to send coverage result from TravisCI to Coveralls?
Now building a react app made by create-react-app.
In my package.json, I installed some dependencies. The full list is here:
package.json
{
"name": "app",
"version": "0.1.0",
"private": true,
...
12
votes
3answers
3k views
Why is my coveralls.io badge not updating even when the builds are happening?
I am trying to use coveralls.io to show a coverage badge for my tests, but the coverage badge is stuck on "unknown".
The relevant repo is here: https://github.com/cfogelberg/grunt-set-app-mode
When ...
11
votes
5answers
4k views
Is it possible to post coverage for multiple packages to Coveralls?
I want to track test coverage on a go project using Coveralls, the instructions for the integration reference using
https://github.com/mattn/goveralls
cd $GOPATH/src/github.com/yourusername/...
1
vote
0answers
43 views
C++ Coveralls show that files are covered but they are not
I am using GCC compiler with -g -O0 -fprofile-arcs -ftest-coverage flags. It generates *.gcda files of the source code files which has tests. I am using github.com/eddyxu/cpp-coveralls for coverage ...
0
votes
0answers
18 views
Coveralls doesnt see files
I want to connect my repo with coveralls.io. I don't know why but it doesn't see anything.
How to tell coveralls where to look for files?
https://coveralls.io/github/BMichalskiPITE/PITE_Projekt?...
1
vote
0answers
29 views
python-coveralls in travis does not find coverage
I'm trying to setup a small python library with coveralls.io through travis-ci.
The current structure of the library is:
libconfig
├── .coverage
├── .coveragerc
├── .coveralls.yml
├── LICENSE
├── ...
3
votes
1answer
127 views
Coveralls not sending Pull Request status
I develop in Rails, keep my code in Github, use CircleCI for testing, and now I've been trying to introduce Coveralls in the picture.
I've set these settings in Coveralls:
I added the coveralls gem:
...
0
votes
0answers
113 views
Coveralls integration with Travis CI not working?
For this project the build is passing but the coveralls integration looks like it's not triggered at all. I followed the instructions here.
The package.json script setup is as follows:
"coverage": "...
1
vote
0answers
174 views
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/...
13
votes
3answers
1k views
Conditional Commands in tox? (tox, travis-ci, and coveralls)
tl;dr:
I'm setting up CI for a project of mine, hosted on github, using tox and travis-ci. At the end of the build, I run converalls to push the coverage reports to coveralls.io. I would like to make ...
0
votes
3answers
121 views
AppVeyor + OpenCover + xUnit - Build doesn't fail when tests fail
I created an AppVeyor Build Script that uses OpenCover and Coveralls.Net to run my xUnit tests and publish the code coverage to Coveralls.io.
But when I have failing tests - AppVeyor reports the ...
1
vote
1answer
117 views
Travis CI, Atoum and Coveralls for a PHP project
Fairly new to the CI game. I'm trying to get Travis CI and Coveralls working together and having a bit of trouble with it. The project in question is written in PHP and being tested with Atoum. My ...
0
votes
0answers
35 views
Testing of virtual method with coveralls.io
Let's say I have following C++ class.
class Arg {
...
virtual void setValue( const std::string & v )
{
m_value = v;
}
...
}
I have successfully integrated Travis-CI ...
4
votes
1answer
215 views
Keep token in YAML file *private/secure* (Coveralls.io)
I am on the Coveralls.io site and it says:
If you intend to submit coverage data via a private CI or command line
other than Travis Pro, add the following line to your .coveralls.yml :
...
0
votes
0answers
11 views
Is there coveralls.io analog
Is there any coverall.io analogs? I'm using sbt-scoverage plugin that generates scoverage reports from my private repositories, i want to have userfriendly ui that would store my reports and present ...
1
vote
0answers
186 views
How can I get code coverage for Travis-CI (C#)
I've been googling for solutions for quite a while now. I have a project on GitHub that uses Travis-CI for Continuous Integration. I want to have test coverage data in my Travis-CI log and for this I ...
0
votes
0answers
63 views
Maven project Travis CI and Coveralls Integtation
I have a private spring boot project stored in github. It's integated with Travis CI. I tried to integrate with coveralls and I added configuration scripts/tokens in .coveralls.yml and .travis.yml ...
0
votes
1answer
139 views
Exclude classes from code coverage in coveralls
Currently I learn Appveyor and i use coveralls for .Net code coverage of mine source code. When i looked on the report i saw that i have a couple of classes (mostly models) which i cannot cover with ...
0
votes
0answers
196 views
Appveyor runs tests but OpenCover doesn't show coverage
I am building the project and running test cases in appveyor. After successfully executing test cases the coverage data must be uploaded to coveralls.
But in my case no error is thrown but coverage ...
0
votes
1answer
158 views
express-node test coverage w Istanbul/mocha Error: ENOENT: no such file or directory node_modules/istanbul-reports/lib/html/assets
using
"babel-cli": "6.18.0",
"babel-core": "6.18.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-preset-es2015": "6.16.0",
"babel-preset-stage-2": "6.18.0",
"coveralls": "^2.13.0",
"istanbul"...
0
votes
1answer
23 views
Coveralls notifies when there are no changes
Here are my repo settings:
So I expect notifications only if something changes. But it continues to inform me of the following letters:
"Coverage remained the same at 100.0% when pulling [commit-...
9
votes
2answers
2k views
Python Code Coverage and Multiprocessing
I use coveralls in combination with coverage.py to track python code coverage of my testing scripts. I use the following commands:
coverage run --parallel-mode --source=mysource --omit=*/stuff/idont/...
1
vote
1answer
69 views
Testing Jupyter/iPython with coveralls?
I'd like to add some Jupyter notebooks to my coverage tests. It appears the way to do this might be to convert the notebooks via nbconvert, then testing the converted notebooks, but python doesn't ...
2
votes
1answer
94 views
Get error when running Coverall.io (.net 1.3.4) on AppVeyor (Default Azure Environment)
Looks like this is an environment issue, when I run the coverall tool and the AppVeyor server says it doesn't contain the Azure TableEntity under the Jenkins workspace.
packages\coveralls.io.1.3.4\...
11
votes
3answers
1k views
Testing os.Exit scenarios in Go with coverage information (coveralls.io/Goveralls)
This question: How to test os.exit scenarios in Go (and the highest voted answer therein) sets out how to test os.Exit() scenarios within go. As os.Exit() cannot easily be intercepted, the method ...
0
votes
2answers
479 views
nyc coveralls integration not working
I try to make nyc working with coveralls following the instruction:
https://github.com/istanbuljs/nyc#integrating-with-coveralls
But I can't get it to work. Here is an example repo:
https://github....
0
votes
0answers
167 views
travis-CI.org project cannot submit code coverage report to Coveralls.io
I have a maven project which uses Travis-CI for continuous integration, and I want to add code coverage using JaCoCo, and Coveralls.io.
The build in Travis-CI runs fine, and the code coverage results ...
4
votes
1answer
2k views
How can I connect Coveralls and Travis in GitHub?
I currently have TravisCI building on PRs in a public GitHub repo.
The instructions for Coveralls say to put this in a .coveralls.yml file:
service_name: travis-pro
repo_token: <my_token>
That ...
0
votes
1answer
90 views
“source_files must be set” coveralls php
I am trying to setup coveralls with Travis and I have a source_files must be set error
$ php coveralls.phar -v
Load coverage clover log:
- /home/travis/build/Toolwatchapp/tw-backend/application/...
1
vote
1answer
337 views
Coveralls not working with Appveyor
I have used 'appveyor tool' for building project and 'coveralls tool' for code coverage. my appveyor.yml file is like below. While executing the command the following error is thrown.
"Bad response:...
4
votes
1answer
307 views
Travis ci fails with mocha+coveralls
travis ci fails as the out put of reporter is empty string.
NODE_ENV=test YOURPACKAGE_COVERAGE=1 mocha --compilers coffee:coffee-script/register --require blanket --reporter mocha-lcov-reporter | ./...
0
votes
0answers
80 views
Coveralls Report runs twice
Installed Coveralls gem on my Rails 4.2.7.1 and added the code below to top of my spec/spec_helper.rb:
require 'coveralls'
require 'simplecov'
SimpleCov.formatters = [
SimpleCov::Formatter::...
0
votes
1answer
260 views
How do I send coverage data from Istanbul to Coveralls.io?
Here's the situation: I'm a complete n00b at Node.js and I'm working on my first package. The repo is set up on GitHub, I've created some working tests with Mocha, and I've also added it to Travis CI. ...
0
votes
0answers
109 views
How to get code coverage using coveralls and rspec-puppet?
This branch has been created in order to get code coverage using Coveralls:
.coveralls.yml
service_name: travis-ci
spec/spec_helper.rb
require 'coveralls'
Coveralls.wear! do
add_filter '/spec/...
1
vote
1answer
373 views
Why does coveralls show 0% coverage when every source file is 100% covered?
I made a simple C++ project which I hooked up to travis and coveralls. As far as I know, I'm uploading the reports correctly as my source files are shown in coveralls and are 100% covered.
However, ...
0
votes
1answer
239 views
Coveralls code coverage in Rails is misleading
We are currently using Coveralls for code coverage of our Rails projects. The coverage results it is giving us are really unreliable. I have on numerous occasions found classes which have not been ...
3
votes
1answer
522 views
Coveralls coverage not matching SimpleCov
I'm using the 'simplecov' and 'coveralls' ruby gems but the report that is generated by simplecov doesn't match the report generated by coveralls.
I've found that coveralls is not ignoring code that'...
1
vote
0answers
113 views
Merge coverage report from multiple tests
I have a repository that contains three components, fronted, backend and mobile app (flutter). Each of these are in their own package and have their own tests
frontend/pubspec.yaml
frontend/packages
...
0
votes
1answer
170 views
coveralls fails on AppVeyor in some builds but not in others
I'm trying to make pytest publish coverage reports from AppVeyor. I've added the repository's encrypted token as explained here. Here's the appveyor.yml file:
environment:
COVERALLS_REPO_TOKEN:
...
1
vote
0answers
180 views
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 ...
2
votes
2answers
832 views
Travis CI works correctly, but Coveralls doesn't see the builds
I have a repository on Github, a PHP Symfony app with a PHPunit test suite (https://github.com/antodippo/ccmusicsearch), and Travis CI is correctly checking the build every time I push (https://travis-...
0
votes
1answer
74 views
Coveralls also checks coverage for test classes
I have a project (Java) hosted on GitHub and recently I have added both TravisCI and Coveralls for coverage reports. My project is here: FuzzyImageToolBox.
As I can see from my last coverage report ...
2
votes
0answers
254 views
PHP: How to test my REST API
I created a API and would like to test it. My initial thoughts was to use an API client, which I did, I used guzzlehttp, but after deploying the app to heroku and using travis and coveralls to build ...