All Projects → JamieMason → karma-nested-reporter

JamieMason / karma-nested-reporter

Licence: other
Easy to read test output with nested describe and it blocks

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to karma-nested-reporter

Ol3echarts
🌏 📊 ol3Echarts | a openlayers extension to echarts
Stars: ✭ 229 (+1535.71%)
Mutual labels:  karma
xunit.testlogger
XUnit logger for vstest platform
Stars: ✭ 65 (+364.29%)
Mutual labels:  test-reporting
angular-cli-skeleton
angular-cli skeleton to quickly start a new project with advanced features and best practices. All features are described in README.md.
Stars: ✭ 32 (+128.57%)
Mutual labels:  karma
osint
Docker image for osint
Stars: ✭ 92 (+557.14%)
Mutual labels:  karma
working-plusplus
Like plusplus.chat, but one that actually works, because you can host it yourself 😉
Stars: ✭ 21 (+50%)
Mutual labels:  karma
test junkie
Highly configurable testing framework for Python
Stars: ✭ 72 (+414.29%)
Mutual labels:  test-reporting
React Cordova Boilerplate
TodoMVC example for react with development tools to build a cordova application
Stars: ✭ 206 (+1371.43%)
Mutual labels:  karma
generator-speedseed
Oriented to components, allow create/choice template, multiple configuration with easy maintenance
Stars: ✭ 13 (-7.14%)
Mutual labels:  karma
scenarioo
Scenarioo Docu Viewer for Automated Documentation using UI/E2E-Tests
Stars: ✭ 62 (+342.86%)
Mutual labels:  test-reporting
testing-angular-applications
Project for the Testing Angular Applications book
Stars: ✭ 99 (+607.14%)
Mutual labels:  karma
karma-tap
Let your Karma tests to consume TAP output
Stars: ✭ 29 (+107.14%)
Mutual labels:  karma
react-facebook-friends
👍Web app to rank, quantify your FaceBook friendship with React
Stars: ✭ 26 (+85.71%)
Mutual labels:  karma
vue-webpack-boilerplate
A webpack boilerplate with vue-loader, axios, vue-router and vuex
Stars: ✭ 51 (+264.29%)
Mutual labels:  karma
junit.testlogger
JUnit test logger for vstest platform
Stars: ✭ 61 (+335.71%)
Mutual labels:  test-reporting
karma-reporter
A plugin for running clojurescript tests with Karma.
Stars: ✭ 23 (+64.29%)
Mutual labels:  karma
Pikarma
📡🍓🍍 Detects wireless network attacks performed by KARMA module (fake AP). Starts deauthentication attack (for fake access points)
Stars: ✭ 222 (+1485.71%)
Mutual labels:  karma
karma-riot
A Karma plugin. Compile and test HTML and JS in Riot tag files.
Stars: ✭ 20 (+42.86%)
Mutual labels:  karma
angular2-typescript-recipe
A webapp structure template, containing what I find to be good practices for starting a web project
Stars: ✭ 15 (+7.14%)
Mutual labels:  karma
karma-expect
Expect.js adapter for Karma test runner
Stars: ✭ 12 (-14.29%)
Mutual labels:  karma
angular-admin-panel
An Angular Admin boilerplate to quickly scaffold any large scale enterprise application.
Stars: ✭ 18 (+28.57%)
Mutual labels:  karma

karma-nested-reporter

A Karma plugin. Report results with each describe indented.

NPM version NPM downloads Dependency Status Gitter Chat for karma-nested-reporter Donate via PayPal Donate via Gratipay Analytics Follow JamieMason on GitHub Follow fold_left on Twitter

screenshot of karma nested reporter

Installation

The easiest way is to keep karma-nested-reporter as a devDependency in your package.json:

{
  "devDependencies": {
    "karma": ">=0.9",
    "karma-nested-reporter": "0.1.5"
  }
}

You can simply do it with:

npm install karma-nested-reporter --save-dev

Enabling this reporter

It's recommended that you use this reporter instead of the progress reporter.

// karma.conf.js
module.exports = function(config) {
  config.set({
    reporters: ['nested']
  });
};

You can pass list of reporters as a CLI argument too:

karma start --reporters nested

Optional Configuration

Default values

// karma.conf.js
module.exports = function(config) {
  config.set({
    nestedReporter: {
      color: {
        should: 'red',
        browser: 'yellow'
      },
      icon: {
        failure: '✘ ',
        indent: 'ட ',
        browser: ''
      }
    }
  });
};

Colors

This reporter will output in color if colors: true is present in your Karma configuration.

Colors can be optionally overridden with any of the values defined by chalk's colors and styles.

Icons

If the for example isn't your thing, or it doesn't display in your Terminal, this and the other icons can be substituted for others.

The Karma Test Runner

For more information on Karma see the homepage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].