gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

include-pid in YAML configuration not observed #401

Open mpareja opened 9 years ago

mpareja commented 9 years ago

The following .istanbul.yml file does not generate coverage files with PIDs in the filename. When I specify the --include-pid command line parameter, things work just fine. Oddly enough, verbose mode shows that the include-pid value is being parsed correctly as true - it just isn't being used.

verbose: true
check:
    global:
        statements: 100
        lines: 100
        branches: 100
        functions: 100

instrumentation:
    excludes:
        - "gulpfile.js"
        - "config.js"
        - "**/public/**"
    include-all-sources: true
    include-pid: true

reporting:
    dir: "../coverage"
alexindigo commented 8 years ago

@gotwarlost @davglass Hey, do you have comments on this one? Thank you.