test-coverage Questions
14
I am trying to find the coverage using coverage module for a django project but gets
Coverage.py warning: No data was collected. (no-data-collected)
My project folder has src and tests folders.
Wh...
Malachite asked 14/11, 2017 at 14:0
4
Solved
Is there a way to run all test in an root pom and collect test coverage in Intellij Idea ?
Doodlebug asked 19/6, 2013 at 10:28
3
The unit test coverage report from Istanbul in HTML format displays every single folder of the project in the index.html.
It actually flattens the directory structure. Is there an option to render...
Shroudlaid asked 13/8, 2014 at 16:1
3
Solved
use case
codecov sees super as in need for test,
not sure being sure if writing a test for this keyword
would be meaningful
how to write such a test
I'd like to exclude the line from coverage un...
Godart asked 12/2, 2021 at 10:26
2
Solved
I was looking for it for a while, but couldn't find a way to enable the test coverage features in the Rider Unit Test tool window. https://www.jetbrains.com/help/rider/Unit_Tests_Coverage_window.ht...
Atalee asked 5/5, 2022 at 19:15
3
I am currently using Java with Play framework. I have JUnit tests and I am trying to measure coverage with IntelliJ coverage runner.
Play unfortunately generates some rubbish classes and IntelliJ ...
Griffith asked 28/1, 2015 at 14:6
0
I have one project(android and iOS) where I am sharing the common code inside shared folder. I have written both unit tests under commonTest(unit-test) folder as well as Instrumentation test inside...
Rochelle asked 10/10, 2022 at 11:9
5
Solved
I am trying to generate Jacoco code coverage report.
I have used AndroidTestCase for my test classes.
I have found using testCoverageEnabled true and using default android -studio default jacoco...
Irradiation asked 18/3, 2015 at 22:17
7
There is a big javascript library (~ 40 000 lines of code) and an application which uses less than 50% of the library's code.
There is a test which utilizes all the needed functionality from the l...
Engel asked 20/3, 2018 at 10:32
5
Solved
Should I care how my tests cover the external libraries I'm using in my project ?
The py.test --cov displays how all files are covered, including ones in my virtualenv directory. How can I make t...
Ardor asked 7/1, 2016 at 9:21
1
Solved
I'm designing my tests using the Behavior Driven Development (BDD) approach using Gherkin syntax and running my tests with Cucumber JS.
I'm using Cucumber Studio to share reports and keep synced wi...
Bash asked 11/4, 2021 at 9:46
3
I want to exclude some source files in Jacaco Test coverage report.For other generated code I have done like this:
classDirectories = fileTree(
dir: "${project.buildDir}/intermediates/classes/deb...
Ebonize asked 8/12, 2017 at 5:25
1
Solved
I am using coverage.py to get the test coverage of the code.
Suppose I have two functions with the same name in two different modules
# foo/foo.py
def get_something():
# fetch something
# 10 lin...
Protoactinium asked 30/10, 2020 at 15:35
1
I can generate a type "coverage" report with mypy via
mypy . --html-report mypy-report
and a pytest coverage report with pytest-cov
pytest --cov=app --cov-report=html
Is there a way to ...
Monarchal asked 15/10, 2020 at 11:28
0
have been trying to show coverage in code coverage badge. I am getting coverage at CI/CD
--> JOBS section but the coverage is not getting updated in gitlab badges.Following is my gitlab-ci.yml f...
Alderson asked 20/10, 2020 at 5:44
0
All of my components pass their tests when I run yarn test or yarn test [filename]. However, when I run tests with the --coverage flag I am getting the following error, pointing to the Wrapper of t...
Grounds asked 14/9, 2020 at 9:38
1
I am trying to get coverage per test feature working with Sonarqube 7.
I am using jacoco-maven-plugin and my tests are running with JUnit 5.
I successfully managed to get global Coverage on Sonar...
Gamali asked 15/7, 2018 at 12:21
2
Solved
This is probably a rather simple question, but I'm at a loss...
I have an if statement like the following:
if(TheEnum.A.equals(myEnum) || TheEnum.B.equals(myEnum))
TheEnum can be A, B, C, ... G...
Traditionalism asked 21/7, 2015 at 17:43
1
When I run code coverage, code inside the root directory containing jest config works perfectly but for the code outside the root directory test cases passes but in the coverage report it shows zer...
Anear asked 17/5, 2019 at 7:15
1
Solved
I am using coverage.py to check the code coverage of my unit tests, in form of html report.
coverage run -m pytest
coverage html
The report is pretty cool which shows the overall coverage % and ...
Franek asked 24/9, 2019 at 8:22
1
Solved
I have used lombok.@UtilityClass to:
generate a private constructor
make the class final
make all fields in the utility class static
And Jacoco does not cover Lombok generated code. If I expli...
Shortlived asked 23/5, 2019 at 9:55
3
I am trying to define the location, where jacoco will create the coverage file for instrumentation tests running on real devices.
From the --debug run of the gradle task I see this log:
[DEBUG] [...
Splotch asked 4/2, 2016 at 13:25
1
Solved
I have VueJS application written with NuxtJS. This setup causes that I have many files index.vue in different directories.
When I run the testing suite with commend jest --no-cache --watch --covera...
Zettazeugma asked 10/1, 2019 at 2:40
3
Solved
I am trying to use go test -cover to measure the test coverage of a service I am building. It is a REST API and I am testing it by spinning it up, making test HTTP requests and reviewing the HTTP r...
Excess asked 5/2, 2015 at 16:27
4
Jacoco shows 0% coverage for Kotlin's data classes. How to configure it to measure coverage or ignore data classes at all?
Gunlock asked 23/1, 2018 at 8:19
1 Next >
© 2022 - 2024 — McMap. All rights reserved.