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
0
votes
2 answers

Coveralls code coverage badge giving 0% code coverage using Pytest and GitHub Actions (Python)

Similar question but unfortunately no clear answer: here I've been trying to get pytest, which runs during my GitHub Actions CI, to produce a code coverage badge on my readme.md. My approach was: Use pytest Source/tests -v --cov to generate a…
Nick_2440
  • 75
  • 1
  • 13
0
votes
1 answer

Coveralls.io links showing coverage, disappeared from github pull requests, starting 12/01/2022

Our coveralls links disappeared starting 12/01/2022 from github pull requests & pushes. It was working before. You can see the detailed summary here https://github.com/lemurheavy/coveralls-public/issues/1683. Do others face similar issues? Any…
0
votes
1 answer

Github actions to publish coverage in coverall always displays "unknown" badge

I followed this link to add Github Actions. I see the actions are getting executed without any error But in coveralls.io dashboard, the badge is always unknown. I tried many combinations in github actions still couldnt get the valid coverage…
ambikanair
  • 4,004
  • 11
  • 43
  • 83
0
votes
0 answers

Type checking Python with MyPy breaks test coverage reports

I have been adding type checking with MyPy to various python projects and I've found that doing so prevents Coverage from properly generating test coverage reports. Specifically it prevents coverage from overwriting it's htmlcov directory, it works…
axevalley
  • 335
  • 2
  • 10
0
votes
1 answer

How To Associate Different Oauth2 Logins?

I have a webapp with 2 login options: using your Github account or your GitLab account. At the moment, these 2 logins are treated as different accounts: login with Github, see only your Github repos; login with GitLab, see only your GitLab…
amihaiemil
  • 623
  • 8
  • 19
0
votes
1 answer

What is the most appropriate way to integrate coverage between a project with PHP and nodeJS dependencies?

I Have a project which uses NodeJS and PHP together. Looking at both parts, PHPUnit and jest produce a clover.xml For CI I am using Travis CI For aggregate coverage I am using coveralls.io What is the most appropriate way to take the output of both…
MrMesees
  • 1,488
  • 19
  • 27
0
votes
1 answer

Is there a way to simulate the lack of internet connection in an Elixir test?

I am dealing with a coverage test of an command-line interface application developed in Elixir. The application is a client for tldr-pages and its functioning consists in a script built with escript. To perform the actions I use a case structure…
Ivanhercaz
  • 731
  • 1
  • 11
  • 31
0
votes
0 answers

how would i ignore a folder for being included into (coveralls) while running unit testing with mocha chai coveralls

hi I am trying to exclude given from being added into the coverall of my tests the following my test command "test": "nyc --reporter=html --reporter=text mocha --timeout 10000 --require @babel/register \"./{,!(node_modules)/**/}*.test.js\"…
0
votes
0 answers

coveralls.io (or any other): coverage of generated files (which are not in git)

I am searching for any coverage report host/service/web which can visualize coverage for generated files. I am currently using coveralls.io and it seems that it can not handle generated files and I do not know how to post them to coveralls.io so…
Nic30g
  • 659
  • 6
  • 15
0
votes
1 answer

Coveralls test percentage reduced by _typeof function

I've got an NPM package that uses Coveralls. My percentage is at 85% and I can see that the last 15% has to do with the following func: function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof…
Daniel Richter
  • 340
  • 1
  • 5
  • 25
0
votes
2 answers

How to set up coveralls in an Angular GitHub + TravisCI project

In my Angular project hosted on GitHub, I'm running the tests in TravisCI using: package.json scripts "test-ci": "ng test --watch=false" .travis.yml script script: - ng lint - npm run test-ci - npm run e2e - npm run build I would like to…
Francesco Borzi
  • 56,083
  • 47
  • 179
  • 252
0
votes
1 answer

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, "scripts": { "start": "react-scripts start", …
v v
  • 613
  • 3
  • 10
  • 26
0
votes
3 answers

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 build successful. How do I configure AppVeyor to fail…
Philip Pittle
  • 11,821
  • 8
  • 59
  • 123
0
votes
0 answers

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 files. The problem is that I can not see my…
Tugrul
  • 1,760
  • 4
  • 24
  • 39
0
votes
1 answer

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 unit test. I found one attribute…
chunk1ty
  • 400
  • 3
  • 14
1 2 3
8 9