You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/04 13:07:40 UTC
[jira] [Commented] (CB-10531) Enable code coverage collection and
analytics for cordova-lib
[ https://issues.apache.org/jira/browse/CB-10531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132224#comment-15132224 ]
ASF GitHub Bot commented on CB-10531:
-------------------------------------
GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-lib/pull/377
CB-10531 Enable coverage reports for cordova-lib
This PR adds integration with codecov.io
There is also a few improvements for Travis and Appveyor configs and npm tasks:
* Simplify Travis and Appveyor configs by using relative `npm link`s
* Run `cordova-common` tests as a part of `test_script` (was the part of `install`)
* Shorten `npm run` scripts specification by assuming that tools are already in `PATH`(proof: https://docs.npmjs.com/cli/run-script)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-10531
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/377.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #377
----
commit 934947eea139194da31919051705cde6a712f080
Author: Vladimir Kotikov <v-...@microsoft.com>
Date: 2016-02-04T10:38:42Z
CB-10531 Enable coverage reports for cordova-lib
----
> Enable code coverage collection and analytics for cordova-lib
> -------------------------------------------------------------
>
> Key: CB-10531
> URL: https://issues.apache.org/jira/browse/CB-10531
> Project: Apache Cordova
> Issue Type: New Feature
> Components: CordovaLib
> Reporter: Vladimir Kotikov
>
> There is a prototype of how we can visualize, track and analyze code coverage for our repos.
> Here is the fork of cordova-lib repo integrated with https://na01.safelinks.protection.outlook.com/?url=codecov.io&data=01%7c01%7cv-vlkoti%40064d.mgd.microsoft.com%7c0be9a2a470c64d197a4308d32b130e1e%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=HNDOnp8AFeTDUIpzJUfX%2bnOVo33WHlQbspa6gsrsZGQ%3d [1] (notice the coverage badge at the top of README), and a PR with some coverage metrics [2]. The coverage summary is placed here [3]
> I'd like to enable this feature for all our repos, to encourage contributors to increase current test coverage up to appropriate values.
> [1] https://github.com/vladimir-kotikov/cordova-lib
> [2] https://github.com/vladimir-kotikov/cordova-lib/pull/2
> [3] https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fcodecov.io%2fgithub%2fvladimir-kotikov%2fcordova-lib&data=01%7c01%7cv-vlkoti%40064d.mgd.microsoft.com%7c0be9a2a470c64d197a4308d32b130e1e%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=9Ms0zjA3OrEepUUQG%2f8sSUkcbfauvWCCpxVvxcjwfNk%3d
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org