https://github.com/cyco/karma-touchbar-reporter
A Karma plugin. Displays test results on the TouchBar.
https://github.com/cyco/karma-touchbar-reporter
karma karma-plugin karma-reporter macos touchbar
Last synced: 8 days ago
JSON representation
A Karma plugin. Displays test results on the TouchBar.
- Host: GitHub
- URL: https://github.com/cyco/karma-touchbar-reporter
- Owner: cyco
- License: mit
- Created: 2018-02-18T19:30:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T19:20:56.000Z (almost 7 years ago)
- Last Synced: 2025-04-12T10:04:14.892Z (21 days ago)
- Topics: karma, karma-plugin, karma-reporter, macos, touchbar
- Language: Objective-C
- Size: 171 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# karma-touchbar-reporter
A Karma plugin. Displays test results on the TouchBar.

## 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`.
```bash
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