View Issue Details

IDProjectCategoryView StatusLast Update
0004418Talerwallet (WebExtension)public2016-04-28 22:15
ReporterFlorian Dold Assigned ToFlorian Dold  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004418: integrate the istanbul code coverage checker with the wallet code base
DescriptionThis mostly involved adapting then build system so that it can generate code instrumented by istanbul.
TagsNo tags attached.

Activities

Florian Dold

2016-04-27 15:36

manager   ~0010570

Istanbul is now integrated into the wallet, you can run

$ npm run test-cover

to do instrumented tests, and

$ istanbul report

to generate reports. Istanbul stores coverage information in the lcov format.

A minor flaw is that coverage is only supported for files loaded during the test cases, which means that the percentages are much higher than the actual test coverage.

Also source mapping to TypeScript is not integrated yet, but possible with https://github.com/SitePen/remap-istanbul

Issue History

Date Modified Username Field Change
2016-04-14 17:39 Florian Dold New Issue
2016-04-14 17:39 Florian Dold Status new => assigned
2016-04-14 17:39 Florian Dold Assigned To => Florian Dold
2016-04-27 15:36 Florian Dold Note Added: 0010570
2016-04-27 15:36 Florian Dold Status assigned => resolved
2016-04-27 15:36 Florian Dold Resolution open => fixed
2016-04-28 22:15 Christian Grothoff Status resolved => closed
2016-04-28 22:15 Christian Grothoff Product Version => 0.0
2016-04-28 22:15 Christian Grothoff Fixed in Version => 0.0
2016-04-28 22:15 Christian Grothoff Target Version => 0.0
2023-04-13 20:37 Florian Dold Category wallet (WebExtensions) => wallet (WebExtension)