karma-touchbar-reporter
v0.1.0
Published
A Karma plugin. Displays test results on the TouchBar.
Downloads
2
Readme
karma-touchbar-reporter
A Karma plugin. Displays test results on the TouchBar.
Installation
Make sure you're on macOS 10.13 and have Xcode 9 installed. karma-touchbar-reporter
uses a helper program to interface with the TouchBar. To compile the helper simply cd
into the directory and run xcodebuild
.
cd karma-touchbar-reporter/helper
xcodebuild
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