# karma-spec-json-reporter

> A Karma JSON reporter for specs

Latest version **0.0.8** (published 2014-06-09) · BSD license · 0 weekly downloads

## Install

```sh
npm install karma-spec-json-reporter
pnpm add karma-spec-json-reporter
yarn add karma-spec-json-reporter
bun add karma-spec-json-reporter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2014-06-09 |
| First published | 2014-03-10 |
| Weekly downloads | 0 |
| License | BSD |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | mackstar |
| Keywords | karma, json, reporter |

## Links

- npm: https://www.npmjs.com/package/karma-spec-json-reporter
- Repository: https://github.com/mackstar/karma-spec-json-reporter
- Issues: https://github.com/mackstar/karma-spec-json-reporter/issues
- npm.io page: https://npm.io/package/karma-spec-json-reporter

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.8 (latest) — 2014-06-09
- 0.0.7 — 2014-03-27
- 0.0.1 — 2014-03-11
- 0.0.0 — 2014-03-10

## README

# Karma JSON spec reporter

This is a karma reporter that will export your test data in the form of JSON but keys all describe contexts such as:

```
{
    "My Feature": {
        "should have a passing test": "PASSED",
        "might have a failing test": "FAILED"
    },
    "My Other Feature": {
      "should also have a passing test": "PASSED"
    }
}


```

## Installation


```
npm install --save-dev karma-spec-json-reporter
```

In your `karma.conf.js` add include `'specjson'` to your reporters like below:

```
reporters: ['specjson', 'dots'],
```

You will also need to set the location that you need to output your JSON file.

```
    specjsonReporter: {
        outputFile: "karma-specs.json"
    }
```

---
_Source: https://npm.io/package/karma-spec-json-reporter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
