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

Documentation for _mocha syntax? #642

Closed Roam-Cooper closed 8 years ago

Roam-Cooper commented 8 years ago

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.