gotestyourself / gotestyourself/gotestsum

Add a cross-platform tool for desktop notifications using --post-run-command

Open
#116 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Go
Stars
2.7k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

Building on #74 (#76) it would be nice to have a cross-platform way of using desktop notifications.

I'd like to avoid additional golang dependencies in `gotestsum` and use the `os/exec` approach for running the notification.

A couple options that come to mind:
1. If there are widely used CLI tools (such as `terminal-notifier` in `contrib/notify/notify-macos.go`) we could add a new `cmd/tool/notify` which detects which CLI is available and shells out to the correct CLI
2. We could build a separate binary using something like https://github.com/martinlindhe/notify and make it available to download from the github releases page.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.