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.
Is there any documentation on how to use istanbul with mocha etc, how to pass arguments and whatnot?
I'm trying to think of how to do istanbul _mocha --include-all-sources while also specifying a test directory and --recursive flag to the mocha instance that istanbul uses, but I don't even know how _mocha is working because it isn't mentioned in the readme.
Is there any documentation on how to use istanbul with mocha etc, how to pass arguments and whatnot?
I'm trying to think of how to do istanbul _mocha --include-all-sources while also specifying a test directory and --recursive flag to the mocha instance that istanbul uses, but I don't even know how _mocha is working because it isn't mentioned in the readme.