You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The *reports* release. **Potentially backwards-incompatible** if you are using
undocumented features or custom report implementations.
Change report command line to support multiple reports, add back-compat processing with warnings
Enable `report` command to read report list from config, thanks to @piuccio
Support multiple reports for `cover` and `report` commands
Support per-report config options in configuration file
Turn reports into event emitters so they can signal `done`
Add `Reporter` class to be able to generate multiple reports
Add a bunch of API docs, refactor README
v0.2.16
Make YUI links https-always since relative links break local
filesystem use-case
v0.2.15
make link protocols relative so they don't break on https connections
(thanks to @yasyf)
v0.2.14
Fix hook to deal with non-string/ missing filenames
(thanks to @jason0x43), update dependencies
v0.2.13
Add `--preload-sources` option to `cover` command to make
code not required by tests to appear in the coverage report.
v0.2.12
Text summary as valid markdown, thanks to @smikes
v0.2.11
Allow source map generation, thanks to @jason0x43
v0.2.10
Add flag to handle sigints and dump coverage, thanks to @samccone
v0.2.9
Fix #202
v0.2.8
Upgrade esprima
v0.2.7
Upgrade esprima
Misc jshint fixes
v0.2.6
Revert bad commit for tree summarizer
v0.2.5
Add clover report, thanks to @bixdeng, @mpderbec
Fix cobertura report bug for relative paths, thanks to @jxiaodev
Run self-coverage on tests always
Fix tree summarizer when relative paths are involved, thanks to @Swatinem
v0.2.4
Fix line-split algo to handle Mac lin separators, thanks to @asifrc
Update README for quick intro to ignoring code for coverage, thanks to @gergelyke
v0.2.3
Add YAML config file. `istanbul help config` has more details
Support custom reporting thresholds using the `watermarks` section of the config file
v0.2.2
update escodegen, handlebars and resolve dependency versions
v0.2.1
Add ability to skip branches and other hard-to-test code using comments.
See the doc for more details
Turn `util.error` into `console.error` for node 0.11 compatibility, thanks to @pornel
v0.2.0
Add --preserve-comments to instrumenter options, thanks to @arikon
Support 'use strict;' in file scope, thanks to @pornel
Up minor version due to the new way in which the global object is accessed.
This _should_ be backwards-compatible but has not been tested in the wild.
v0.1.46
Fix #114
v0.1.45
Add teamcity reporter, thanks to @chrisgladd
v0.1.44
Fix inconsistency in processing empty switch with latest esprima, up deps
v0.1.43
Add colors to text report thanks to @runk
v0.1.42
fix #78: embed source regression introduced in v0.1.38. Fix broken test for this
v0.1.41
add json report to dump coverage object for certain use cases
v0.1.40
forward sourceStore from lcov to html report, pull request by @vojtajina
v0.1.39
add
v0.1.38
factor out AST instrumentation into own instrumentASTSync method
always set function declaration coverage stats to 1 since every such declaration is "executed" exactly one time by the compiler
v0.1.37
--complete-copy flag contrib from @kami, correct strict mode semantics for instrumented functions
v0.1.36
real quiet when --print=none specified, add repo URL to package.json, add contributors
v0.1.35
accept cobertura contrib from @nbrownus, fix #52
v0.1.34
fix async reporting, update dependencies, accept html cleanup contrib from @mathiasbynens
v0.1.33
initialize global coverage object before running tests to workaround mocha leak detection
v0.1.32
Fix for null nodes in array expressions, add @unindented as contributor
v0.1.31
Misc internal fixes and test changes
v0.1.30
Write standard blurbs ("writing coverage object..." etc.) to stderr rather than stdout
v0.1.29
Allow --post-require-hook to be a module that can be `require`-d
v0.1.28
Add --post-require-hook switch to support use-cases similar to the YUI loader
v0.1.27
Add --hook-run-in-context switch to support RequireJS modules. Thanks to @millermedeiros for the pull request
v0.1.26
Add support for minimum uncovered unit for check-coverage. Fixes #25
v0.1.25
Allow for relative paths in the YUI loader hook
v0.1.24
Add lcov summaries. Fixes issue #20
v0.1.23
Add ability to save a baseline coverage file for the instrument command. Fixes issue #19
v0.1.22
Add signature attribute to cobertura method tags to fix NPE by the Hudson publisher
v0.1.21
Add cobertura XML report format; exprimental for now
v0.1.20
Fix HTML/ lcov report interface to be more customizable for middleware needs
v0.1.19
make all hooking non-destructive in that already loaded modules are never reloaded. Add self-test mode so that already loaded istanbul modules can be unloaded prior to hooking.
v0.1.18
Add option to hook in non-destructive mode; i.e. the require cache is not unloaded when hooking
v0.1.17
Export some more objects; undocumented for now
v0.1.16
Fix npm keywords for istanbul which expects an array of strings but was being fed a single string with keywords instead
v0.1.15
Add the 'check-coverage' command so that Istanbul can be used as a posttest script to enforce minimum coverage
v0.1.14
Expose the experimental YUI load hook in the interface
v0.1.13
Internal jshint cleanup, no features or fixes
v0.1.12
Give npm the README that was getting inadvertently excluded
v0.1.11
Merge pull request #14 for HTML tweaks. Thanks @davglass. Add @davglass and @nowamasa as contributors in `package.json`
v0.1.10
Fix to issue #12. Do not install `uncaughtException` handler and pass input error back to CLI using a callback as opposed to throwing.
v0.1.9
Attempt to create reporting directory again just before writing coverage in addition to initial creation
v0.1.8
Fix issue #11.
v0.1.7
Add text summary and detailed reporting available as --print [summary|detail|both|none]. summary is the default if nothing specified.
v0.1.6
Handle backslashes in the file path correctly in emitted code. Fixes #9. Thanks to @nowamasa for bug report and fix
v0.1.5
make object-utils.js work on a browser as-is
v0.1.4
partial fix for issue #4; add titles to missing coverage spans, remove negative margin for missing if/else indicators
v0.1.3
Set the environment variable running_under_istanbul to 1 when that is the case. This allows test runners that use istanbul as a library to back off on using it when set.
v0.1.2
HTML reporting cosmetics. Reports now show syntax-colored JS using `prettify`. Summary tables no longer wrap in awkward places.
v0.1.1
Fixes issue #1. HTML reports use sources embedded inside the file coverage objects if found rather than reading from the filesystem