karma-coverage Questions
1
I need to have relative path as value of SF: parameter in the lcov.info file generated by karma coverage. This is to enable SonarQube to gather the info to display the coverage.
Currently, the SF p...
Mothball asked 9/8, 2017 at 23:54
1
How do I set up karma-coverage with angular2 + webpack?
I followed the quickstart webpack guide from angular. But the coverage tool is blank and does not display my tests. Thanks!
my folder struc...
Reitz asked 15/9, 2016 at 23:47
1
I'm trying to run unit tests for an Angular CLI project on a TeamCity build server.
If I use the command:
ng test --single-run --code-coverage
then, as expected, I get a test coverage report bu...
Varela asked 22/3, 2017 at 17:15
1
I've configured Karma to report the coverage of my JavaScript code. Here is the part of the configuration in the karma.conf.js file:
coverageReporter: {
reporters: [
{
type: 'html',
dir: 'buil...
Highlight asked 2/3, 2015 at 9:21
1
Solved
I am new to Unit Testing in Angular. I got the karma setup with code coverage along with angular-cli . I have run the command ng-test and opened code coverage report. I saw 1x ,3x etc along with my...
Supererogatory asked 20/1, 2017 at 7:0
1
Sonar does not retrieve the coverage information for my project when paths are absolute in my lcov file. For the file:
TN:
SF:/mnt/vg01-data01/jenkins/<jenkins.myhost.com>/jenkins_home/works...
Jackquelinejackrabbit asked 29/11, 2016 at 7:57
3
I am trying to get the Code Coverage for my typescript Code in karma framework using Istanbul
in karma.conf typescript files are included and by karma typescript-preprocessor we able to do unit tes...
Vivid asked 26/11, 2015 at 9:57
1
Solved
Mainly just trying to get Karma+JSPM to play nice on loading the .ts files but having absolutely no luck.
I see up a discussion repo with a stripped down example.
Basically JSPM within Karma is s...
Perm asked 18/8, 2016 at 22:49
1
I am trying to run a unit test with coverage (using karma-coverage) and webpack (using karma-webpack). The tests run as expected, but to generate a coverage report the actual source file (not the t...
Washing asked 2/4, 2016 at 16:23
2
Solved
I a trying to generate an HTML coverage report, but it does not contain the output I expect. Maybe I'm wrong here, but it should show only those lines and methods covered which are called from the ...
Diallage asked 15/12, 2015 at 14:20
1
I am unable to get istanbul to work with jasmine:
Here is my directory structure
ttm-jira
- package.json
- spec
- jira-spec.js
My package.json looks like this:
{
"name": "ttm-jira",
"vers...
Waspish asked 16/11, 2015 at 17:26
1
Solved
I'm using Karma to run tests, webpack to bundle files, and babel for es6 -> es5 transpilation. I've got the tests running and code coverage being generated, but the code coverage numbers are for th...
Binny asked 23/8, 2015 at 18:44
1
Good Morning,
I am having a weird issue that I cannot seem to solve. I have my Karma tests written out and the execute correctly, but when I try to wire up the code coverage for Karma it just spit...
Reprography asked 30/6, 2015 at 11:44
1
Solved
I have Browserify, 6to5ify and Karma to play nice, successfully running my specs. When I add code coverage however, things go south. I've tried several approaches:
Add browserify-istanbul transfo...
Mauritamauritania asked 30/1, 2015 at 13:4
© 2022 - 2024 — McMap. All rights reserved.