Skip to content

monorepo containing the various nuts and bolts that facilitate istanbul.js test instrumentation

Notifications You must be signed in to change notification settings

istanbuljs/istanbuljs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

06eec78 · Jul 5, 2024
Jul 5, 2024
Oct 27, 2021
Jul 2, 2024
Sep 13, 2021
Mar 21, 2017
May 10, 2019
May 25, 2019
Feb 18, 2019
Oct 27, 2021
May 4, 2019
Sep 13, 2021
Apr 21, 2019
Jul 2, 2024
Feb 22, 2024
Oct 17, 2021
Sep 23, 2021

Repository files navigation

IstanbulJS

Build Status Conventional Commits community slack

Having problems? want to contribute? join our community slack.

Everyone's favorite JS code coverage tool.

About this Repo

This monorepo contains the nuts and bolts utility libraries that facilitate IstanbulJS test coverage; Why a monorepo?

  • it allows us to more easily test API changes across coupled modules, e.g., changes to istanbul-lib-coverage potentially have an effect on istanbul-lib-instrument.
  • it gives us a centralized repo for discussions about bugs and upcoming features.

Where Should I Start

You're probably actually looking for one of the following repos:

  • nyc: the IstanbulJS 2.0 command line interface, providing painless coverage support for most popular testing frameworks.
  • babel-plugin-istanbul: a babel plugin for instrumenting your ES2015+ code with Istanbul compatible coverage tracking.
  • istanbul: the legacy 1.0 IstanbulJS interface (you should now consider instead using nyc or babel-plugin-istanbul).

Contributing

Contributing to the packages contained in this repo is easy:

  1. after checking out, run npm install (this will run the lerna build).
  2. to run all tests, simply run npm test in the root directory.
  3. to run tests for a single package cd package/:name and run npm test within the package's folder.