Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 961 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 961 Bytes

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