code-coverage Questions
9
I need to see code coverage report for a java maven project in Gitlab.
According to this, this and some other sources:
I added jacoco to the list of plugins in pom.xml.
Added pages job to my .gitl...
Yetty asked 30/12, 2017 at 9:52
9
Solved
I was fooling around the NUint, hoping to discover a way to realize which line of code passes in which test.
Imagine I have a method for which I have 3 tests. Is there any way to find out which te...
Mallorymallow asked 21/6, 2011 at 6:45
3
I have an Azure DevOps pipeline that validates pull requests. I have configured dotnet test to collect code coverage metrics using the --collect "Code coverage" argument:
- task: DotNetCoreCLI@2
...
Holofernes asked 19/5, 2020 at 12:38
9
Solved
I would like to use PHPUnit to create code coverage reports. I have tried a lot of installation setups found on the web. But nothing seems to work out.
I use the latest version of Laravel 5 (>5.2)...
Lapoint asked 5/3, 2016 at 7:43
3
Solved
I am using genhtml command to generate html coverage report from Bazel generated coverage.dat file:
genhtml bazel-testlogs/path/to/TestTarget/coverage.dat --output-directory coverage
The problem...
Indebtedness asked 27/9, 2017 at 11:54
2
kotlin verion: 1.3.61
Android Gradle Plugin: 3.5.3
JaCoCo Version: 0.8.4.201905082037 (default android gradle version)
project:
https://github.com/goldy1992/Mp3Player/tree/feature/issue-112/migr...
Yoong asked 17/12, 2019 at 16:43
2
I have two main functions that use a common C++ class.
File1: main.cpp
#include <iostream>
#include "HelloAnother.h"
int main() {
HelloAnother::sayHello1();
return 0;
}
File...
Crisp asked 21/7, 2016 at 0:19
5
Solved
I have the same source files (C and Obj-C) being compiled into two targets: the unit test executable and the actual product (which then gets integration tested). The two targets build into differen...
Saros asked 2/7, 2010 at 13:43
4
Solved
I am using Mocha for testing my NodeJS application. I am not able to figure out how to use its code coverage feature. I tried googling it but did not find any proper tutorial. Please help.
That asked 19/5, 2013 at 9:35
3
Solved
I have a maven project with jacoco plugin, which generates reports in different formats, such as html, csv and xml. But I need only html. How can I specify it?
Here is some code, where I add jacoc...
Farmer asked 2/10, 2018 at 13:32
3
I have several unit tests for an application, each of which is capable of generating .gcda files. I would like to be able to generate unified .gcda files which represent the coverage of my test sui...
Grisham asked 28/6, 2011 at 22:1
2
Solved
Right now the way I'm running things is I have a set of test cases written with pytest that I run, if they fail then I fix and rework on. If they pass I use pytest-cov to get coverage and manually ...
Embouchure asked 20/12, 2019 at 5:11
1
I have a repository which contains a badge from Travis-CI. This badge is included in the Readme.md with the following link, as suggested by Travis-CI documentation:
[![Build Status](https://travis...
Labrie asked 5/9, 2015 at 0:0
2
I have a simple Bitbucket Pipelines configuration:
image: node:12.16.3
pipelines:
pull-requests:
'**':
- step:
caches:
- node
script:
- yarn install
- yarn test
The test script produces...
Tachycardia asked 2/5, 2020 at 23:58
6
Solved
I have some code in Java that I want to exclude from code coverage. How would I do this? I want to be able to add an annotation. Is there a way to configure or extend jacoco (as used in gradle) to ...
Florous asked 15/12, 2017 at 1:58
4
Solved
For a project hosted at https://www.gitlab.com I would like to setup code coverage in the CI setup, so it can be displayed in the job list
My configuration looks like this:
.gitlab-ci.yml
ima...
Amand asked 21/6, 2017 at 12:55
3
Solved
Kotlin functions marked with inline keyword are, well, inlined during the compilation and it seems that code coverage tools (like JaCoCo) fail to properly calculate code coverage. What is the usual...
Considerate asked 2/10, 2016 at 14:6
6
Starting a project with Zend Framework 1.10 and Doctrine 2 (Beta1). I am using namespaces in my own library code.
When generating code coverage reports I get a Fatal Error about Redeclaring a clas...
Stool asked 12/5, 2010 at 5:1
2
This affects both IntelliJ 2019.3 and 2020.1 (latest as of this post) Ultimate Editions.
Code coverage is missing for some classes, while other classes continue to show coverage. Stating the obvio...
Schmidt asked 24/4, 2020 at 7:16
7
We are looking for a creative way to measure code coverage on new code separate from existing code. We have a large legacy project and want to start getting 90+% coverage on any new functionality. ...
Towny asked 3/9, 2010 at 14:12
3
Solved
The official documentation shows how to show the code coverage annotation (the bottom two images.) How can I hide it?
I tried it by unchecking Code Coverage checkbox, it didn't hide it right after ...
Matejka asked 22/2, 2017 at 7:31
2
Is there any tool to measure test coverage in the common portion of a Kotlin multiplatform project? I'm investigating migrating a Kotlin project to multiplatform. I'm a TDD developer and the ...
Both asked 18/1, 2020 at 16:12
0
I'm using Android studio 4.1.1, ObjectBox 3.0.1 and Kotlin 1.5.10.
The tests run nicely when I hit the run button on the test class or run ./gradlew :app-core:test, but when I click on Run X with c...
Triatomic asked 8/11, 2021 at 14:15
3
Solved
I am trying to check my code coverage for a test case that I wrote in Kotlin. When I execute ./gradlew createDebugCoverageReport --info, my coverage.ec file is empty and my reports indicate that I ...
Maintopmast asked 2/8, 2017 at 14:49
2
I have 2 Kotlin based AS projects. One works fine, the other doesn't. Both have an identical structure and gradle config. I'm using Kotlin 1.1.4-2 with AS 3.0b2.
The problem is that when I run co...
Justifiable asked 22/8, 2017 at 19:3
© 2022 - 2024 — McMap. All rights reserved.