Open vijtad opened 10 years ago
I set includeBaseLine to true in my karma config. It works fine when I applied changes manually as per issue number 11.
https://github.com/ThomasYoung283/karma-coverage/commit/dc5b03e1977338ce54332187c39822145502ff91
Can you pls. let me know the correct repository url and karma-coverage version number to pull your karma-coverage changes in package.json
I want to integrate with Sonar and display complete code coverage
{ "name": "ng-directive-testing", "version": "0.0.0", "description": "An example of testing AngularJS directives with Karma.", "main": "", "scripts": { "test": "karma start --single-run --no-auto-watch" }, "repository": { "type": "git", "url": "git://github.com/vojtajina/ng-directive-testing.git" }, "author": "Vojta Jina vojta.jina@gmail.com", "license": "MIT", "devDependencies": { "karma": "~0.10.8", "karma-jasmine": "~0.1.3", "karma-chrome-launcher": "~0.1.1", "karma-phantomjs-launcher": "~0.1.1", "karma-ng-html2js-preprocessor": "~0.1.0", "karma-coverage": "~0.1.4", "karma-junit-reporter": "~0.2.1" }
Thanks, Vijay
Is this working for you with the latest versions? You can check using the npm command line if you want to know what they are:
$ npm view karma@latest version
I set includeBaseLine to true in my karma config. It works fine when I applied changes manually as per issue number 11.
https://github.com/ThomasYoung283/karma-coverage/commit/dc5b03e1977338ce54332187c39822145502ff91
Can you pls. let me know the correct repository url and karma-coverage version number to pull your karma-coverage changes in package.json
I want to integrate with Sonar and display complete code coverage
{ "name": "ng-directive-testing", "version": "0.0.0", "description": "An example of testing AngularJS directives with Karma.", "main": "", "scripts": { "test": "karma start --single-run --no-auto-watch" }, "repository": { "type": "git", "url": "git://github.com/vojtajina/ng-directive-testing.git" }, "author": "Vojta Jina vojta.jina@gmail.com", "license": "MIT", "devDependencies": { "karma": "~0.10.8", "karma-jasmine": "~0.1.3", "karma-chrome-launcher": "~0.1.1", "karma-phantomjs-launcher": "~0.1.1", "karma-ng-html2js-preprocessor": "~0.1.0", "karma-coverage": "~0.1.4", "karma-junit-reporter": "~0.2.1" }
Thanks, Vijay