# developit/karmatic

🦑 Easy automatic (headless) browser testing with Jest's API, but powered by Karma & Webpack.

Repository: https://github.com/developit/karmatic
Canonical: https://ross.abutalabs.com/products/karmatic
Homepage: https://npm.im/karmatic
Language: JavaScript
License Family: other
Topics: testing, test-runner, karma, karma-plugin, karma-webpack, jasmine, chrome-headless, jest
Last push: 2022-05-23T20:29:48+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3144, "days_push": 1563, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1159, forks 42 (observed 2026-08-28T04:03:48.599134+00:00)

## What it is
Karmatic is a zero-configuration test runner that runs browser tests in headless Chrome using Karma, Webpack (or Rollup), and Jasmine, while exposing Jest's API and expect syntax. It auto-detects existing Webpack or Rollup configs and provides run, watch, and debug commands via a single CLI dependency.

## Use cases
- run browser tests headlessly with jest-like api
- zero config test runner for javascript modules
- test small npm libraries in chrome headless
- watch mode browser testing during development
- debug browser tests in a headful chrome instance
- get code coverage for browser-based unit tests

## When to choose
- you want Jest-style testing but in a real browser
- you maintain small modules and don't want to configure Karma/Webpack manually
- you need headless Chrome testing with minimal setup

## When to avoid
- you need multi-browser testing beyond Chrome
- you prefer modern alternatives like Playwright or Vitest browser mode
- you need actively developed tooling with recent updates

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: testing, e2e-testing, cli, build-tool
- domain: testing, web-development, frontend, developer-tools
- platform: cli, cross-platform
- tags: karma, webpack, jasmine, puppeteer, headless-browser, jest-api, zero-config, test-runner, command-line, nodejs

## Member repositories
- developit/karmatic (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:48.599134+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:52.972149+00:00, confidence not recorded.
  - readme: https://github.com/developit/karmatic (fetched 2026-08-28T04:03:48.599134+00:00, sha 74437603468a)
  - registry_npm: https://registry.npmjs.org/karmatic (fetched 2026-08-29T12:36:44.495123+00:00, sha 8320a0ab7ba1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
