Personally, I think of test results as a tuple: success metrics, and coverage metrics. So yeah, they are useful. Even having the summary is better than nothing. Cool!
On Dec 3, 2014, at 6:00 PM, Parashuram Narasimhan (MS OPEN TECH) <panar...@microsoft.com> wrote: > Hi, > > As we are working on the various Medic/Build-bot items, we thought that it > would be an interesting exercise to look at the `npm tests` that are > available for cordova-lib, cordova-cli and cordova-js. I could not attach the > full report (attachments are stripped off), but here is the summary. > > Does the community think that adding code coverage using Istanbul to the unit > tests would be useful? > > > | | Statements | Branches | > Functions | Lines | > |------------- |---------------------- |--------------------- > |-------------------- |---------------------- | > | cordova-js | 73.71% (760 / 1031) | 60.93% (287 / 471) | > 69.74% (136 / 195) | 73.78% (757 / 1026) | > | cordova-lib | 67.81% (3489 / 5145) | 56.9% (1229 / 2160) | > 65.62% (586 / 893) | 68.09% (3438 / 5049) | > | cordova-cli | 65.77% (98 / 149) | 54.21% (58 / 107) | > 64.29% (9 / 14) | 66.22% (98 / 148) | > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org > For additional commands, e-mail: dev-h...@cordova.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org