Istanbul logo

Istanbul

A JS code coverage tool written in JS

What is Istanbul?

It is a 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.
Istanbul is a tool in the Code Coverage category of a tech stack.
Istanbul is an open source tool with 8.4K GitHub stars and 800 GitHub forks. Here’s a link to Istanbul's open source repository on GitHub

Who uses Istanbul?

Companies
5 companies reportedly use Istanbul in their tech stacks, including Stack, Hivestack, and Trusted Shops GmbH.

Developers
12 developers on StackShare have stated that they use Istanbul.

Istanbul Integrations

Blog Posts

JavaScriptGitHubGit+33
20
1575

Istanbul's Features

  • All-javascript instrumentation library that tracks statement, branch, and function coverage
  • Module loader hooks to instrument code on the fly
  • Command line tools to run node unit tests "with coverage turned on" and no cooperation whatsoever from the test runner
  • Multiple report formats: HTML, LCOV, Cobertura and more
  • Ability to use as middleware when serving JS files that need to be tested on the browser
  • Can be used on the command line as well as a library
  • Based on the awesome esprima parser and the equally awesome escodegen code generator
  • Well-tested on node (prev, current and next versions) and the browser (instrumentation library only)

Istanbul Alternatives & Comparisons

What are some alternatives to Istanbul?
Coveralls
Coveralls works with your CI server and sifts through your coverage data to find issues you didn't even know you had before they become a problem. Free for open source, pro accounts for private repos, instant sign up with GitHub OAuth.
Codecov
Our patrons rave about our elegant coverage reports, integrated pull request comments, interactive commit graphs, our Chrome plugin and security.
uberalls
Code coverage metric storage service. Provide coverage metrics on differentials with Phabricator and Jenkins, just like Coveralls does for GitHub and TravisCI.
Related Comparisons
No related comparisons found

Istanbul's Followers
5 developers follow Istanbul to keep up with related blogs and decisions.