0.1.0 • Published 6 years ago

karma-chameleon v0.1.0

Weekly downloads
160
License
MIT
Repository
github
Last release
6 years ago

karma-chameleon-reporter

 ╱▉▔▉▔▉▔▉╲▕▔╲
╱▕▋▕▋▕▋▕▋┈▔┈╰╲
▏▕▎▕▎▕▎▕▎┈▕▔╲╰╲
▏╱▔▔╲▂  ▂▂▏╲▇▏▕      Karma Chameleon Reporter
▏▏╱╲▕ ╲╰╲┈╲╰━━━̸━╮
╲╲▏╱▕  ╲╰▔▏▔▔▔ ╰╯
 ╲▂▂╱   ▔▔

This reporter is intended to give a breakdown of test results in a way that is quite clear exactly what has been run, skipped, or failed, and what the results for the tests are on a browser-by-browser basis.

It is a standalone reporter, and is partially based on Karma Summary Reporter.

When an entire file passes, it simply displays how many tests passed for that file, to give an idea of what test coverage is like. When a file has an amount of errors or pending tests, it will specifically call out those items.

Each file header is coloured to correspond to its overall state. Red if it has any errors, yellow if it has no errors but some pending, and green if everything has passed.

Screenshot

Example

Installation

Install via NPM npm install --save-dev karma-chameleon

Add to your Karma Config (karma.conf.js)

```
config.set({
    reporters: ['karma-chameleon']
})
```