cyco / karma-touchbar-reporter

A Karma plugin. Displays test results on the TouchBar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

karma-touchbar-reporter

A Karma plugin. Displays test results on the TouchBar.

Preview

Installation

Make sure you're on macOS 10.13, have Xcode 9 and node installed. karma-touchbar-reporter uses a helper program to interface with the TouchBar. To compile the helper simply cd into the directory and run npm i.

cd karma-touchbar-reporter
npm i

Options

The following options can be specified in your karma configuration under the key "touchbarReporter". See example/karma.conf.js project for an example.

Option Default Effect
name "name" in package.json Customize the name shown in the TouchBar popover.

To Do List

  • Find proper icon for control strip item
  • Properly layout progress on larger test suites
  • Tap failed test to open failed expectation or reveal error message

About

A Karma plugin. Displays test results on the TouchBar.

License:MIT License


Languages

Language:Objective-C 88.0%Language:JavaScript 8.1%Language:Python 3.9%